Methods
# getBigDecimal(index)
Gets value of specified index as decimal
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
decimal value on specified index
# getBoolean(index)
Gets value of specified index as bool
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
bool value on specified index
# getDate(index) → {Date}
Returns DateTime at specified column index
Name | Type | Description |
---|---|---|
index |
Number | Index of Column |
- Type
- Date
# getDouble(index)
Gets value of specified index as double
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
double value on specified index
# getFieldCount()
Gets number of columns.
Number
# getInt(index)
Gets value of specified index as 32 bit integer
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
Number value on specified index
# getIsClosed()
True, if reader is closed else false.
boolean
# getLong(index)
Gets value of specified index as 64 bit integer
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
Number value on specified index
# getName(index)
Returns name of specified column index
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
Name of column
# getOrdinal(columnName)
Returns index of specified column name
Name | Type | Description |
---|---|---|
columnName |
String | Name of column |
Index of column
# getShort(index)
Gets value of specified index as 16 bit integer
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
Number value on specified index
# getString(index)
Gets value of specified index as string
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
string value on specified column
# getValue(index, cls)
Gets value at specified column index
Name | Type | Description |
---|---|---|
index |
Number | Index of column |
cls |
JsonDataType | Specifies the type of value obtained from the Cache. |
-
IOException
-
ClassNotFoundException
long value on specified index
# getValues(objects, cls)
Populates array of objects with values in current row
Name | Type | Description |
---|---|---|
objects |
Array.<Object> | array of objects to be populated |
cls |
JsonDataType | Specifies the type of value obtained from the Cache. |
No of objects copied in specified array
# (async) read()
Advances ICacheReader to next record
true if there are more rows; else false