Package io.vertx.mutiny.sqlclient
Class SqlResult.SqlResultImpl<T>
java.lang.Object
io.vertx.mutiny.sqlclient.SqlResult.SqlResultImpl<T>
- All Implemented Interfaces:
MutinyDelegate,SqlResult<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vertx.mutiny.sqlclient.SqlResult
SqlResult.SqlResultImpl<T> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSqlResultImpl(io.vertx.sqlclient.SqlResult<T> delegate) Create a new instance ofSqlResult.SqlResultImpldelegating to the given (non-null) instance ofSqlResult.SqlResultImpl(io.vertx.sqlclient.SqlResult<T> delegate, TypeArg<T> typeArg_0) -
Method Summary
Modifier and TypeMethodDescriptionGet the column descriptors in the SqlResult.Get the names of columns in the SqlResult.io.vertx.sqlclient.SqlResult<T>Get the delegate instance.next()Return the next available result ornull, e.g for a simple query that executed multiple queries or for a batch result.<V> Vproperty(PropertyKind<V> propertyKind) Get the specific property with the specifiedPropertyKind.introwCount()Get the number of the affected rows in the operation to this SqlResult.intsize()Get the number of rows retrieved in the SqlResult.value()
-
Field Details
-
__typeArg_0
-
-
Constructor Details
-
SqlResultImpl
Create a new instance ofSqlResult.SqlResultImpldelegating to the given (non-null) instance ofSqlResult. -
SqlResultImpl
-
-
Method Details
-
getDelegate
Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Specified by:
getDelegatein interfaceSqlResult<T>- Returns:
- the delegate instance
-
rowCount
public int rowCount()Get the number of the affected rows in the operation to this SqlResult. -
rowDescriptor
- Specified by:
rowDescriptorin interfaceSqlResult<T>
-
columnsNames
Get the names of columns in the SqlResult.- Specified by:
columnsNamesin interfaceSqlResult<T>- Returns:
- the list of names of columns.
-
columnDescriptors
Get the column descriptors in the SqlResult.- Specified by:
columnDescriptorsin interfaceSqlResult<T>- Returns:
- the list of column descriptors
-
size
public int size()Get the number of rows retrieved in the SqlResult. -
property
Get the specific property with the specifiedPropertyKind. -
value
-
next
Return the next available result ornull, e.g for a simple query that executed multiple queries or for a batch result.
-