T
- the execution result typepublic interface SqlResult<T>
Modifier and Type | Method and Description |
---|---|
List<ColumnDescriptor> |
columnDescriptors()
Get the column descriptors in the SqlResult.
|
List<String> |
columnsNames()
Get the names of columns in the SqlResult.
|
SqlResult<T> |
next()
Return the next available result or
null , e.g for a simple query that executed multiple queries or for
a batch result. |
<V> V |
property(PropertyKind<V> propertyKind)
Get the specific property with the specified
PropertyKind . |
int |
rowCount()
Get the number of the affected rows in the operation to this SqlResult.
|
int |
size()
Get the number of rows retrieved in the SqlResult.
|
T |
value()
|
int rowCount()
List<String> columnsNames()
List<ColumnDescriptor> columnDescriptors()
int size()
<V> V property(PropertyKind<V> propertyKind)
PropertyKind
.V
- the type of the property valuepropertyKind
- the unique object which is used to indicate which property of the execution result to fetchT value()
rowSet
or even a string
.Copyright © 2021 Eclipse. All rights reserved.