public class JDBCRow extends ArrayTuple implements Row
EMPTY| Constructor and Description |
|---|
JDBCRow(JDBCRow row) |
JDBCRow(RowDesc desc) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Class<T> type,
int pos)
Get the the at the specified
position and the specified type. |
Character[] |
getArrayOfChars(int pos) |
Character[] |
getArrayOfChars(String name) |
Object[] |
getArrayOfJsons(int pos)
Get a
Json array value, the Json value may be a string, number, JSON object, array, boolean or null. |
Object[] |
getArrayOfJsons(String name)
Get an array of JSON elements for the given
column, the element might be null or one of the following types:
String
Number
JsonObject
JsonArray
Boolean
|
Numeric[] |
getArrayOfNumerics(int pos)
Get an array of
Numeric value at pos. |
Numeric[] |
getArrayOfNumerics(String name)
Get an array of
Numeric value for the given column. |
Character |
getChar(int pos) |
int |
getColumnIndex(String name)
Get a column position for the given @code column}.
|
String |
getColumnName(int pos)
Get a column name at
pos. |
Object |
getJson(int pos)
Get a
JsonObject or JsonArray value. |
Numeric |
getNumeric(int pos)
Get
Numeric value at pos. |
Numeric |
getNumeric(String name)
Get
Numeric value for the given column. |
<T> T[] |
getValues(Class<T> type,
int pos) |
addValue, clear, getValue, setValue, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getArrayOfBigDecimals, getArrayOfBooleans, getArrayOfBuffers, getArrayOfDoubles, getArrayOfFloats, getArrayOfIntegers, getArrayOfJsonArrays, getArrayOfJsonObjects, getArrayOfLocalDates, getArrayOfLocalDateTimes, getArrayOfLocalTimes, getArrayOfLongs, getArrayOfOffsetDateTimes, getArrayOfOffsetTimes, getArrayOfShorts, getArrayOfStrings, getArrayOfTemporals, getArrayOfUUIDs, getBigDecimal, getBoolean, getBuffer, getDouble, getFloat, getInteger, getJson, getJsonArray, getJsonObject, getLocalDate, getLocalDateTime, getLocalTime, getLong, getOffsetDateTime, getOffsetTime, getShort, getString, getTemporal, getUUID, getValue, toJsonaddArrayOfBigDecimal, addArrayOfBoolean, addArrayOfBuffer, addArrayOfDouble, addArrayOfFloat, addArrayOfInteger, addArrayOfJsonArray, addArrayOfJsonObject, addArrayOfLocalDate, addArrayOfLocalDateTime, addArrayOfLocalTime, addArrayOfLong, addArrayOfOffsetDateTime, addArrayOfOffsetTime, addArrayOfShort, addArrayOfString, addArrayOfTemporal, addArrayOfUUID, addBigDecimal, addBoolean, addBuffer, addDouble, addFloat, addInteger, addJsonArray, addJsonObject, addLocalDate, addLocalDateTime, addLocalTime, addLong, addOffsetDateTime, addOffsetTime, addShort, addString, addTemporal, addUUID, addValue, clear, deepToString, from, from, getArrayOfBigDecimals, getArrayOfBooleans, getArrayOfBuffers, getArrayOfDoubles, getArrayOfFloats, getArrayOfIntegers, getArrayOfJsonArrays, getArrayOfJsonObjects, getArrayOfLocalDates, getArrayOfLocalDateTimes, getArrayOfLocalTimes, getArrayOfLongs, getArrayOfOffsetDateTimes, getArrayOfOffsetTimes, getArrayOfShorts, getArrayOfStrings, getArrayOfTemporals, getArrayOfUUIDs, getBigDecimal, getBoolean, getBuffer, getDouble, getFloat, getInteger, getJsonArray, getJsonObject, getLocalDate, getLocalDateTime, getLocalTime, getLong, getOffsetDateTime, getOffsetTime, getShort, getString, getTemporal, getUUID, getValue, of, of, of, of, of, of, of, size, tuple, tuple, types, wrap, wrappublic String getColumnName(int pos)
Rowpos.getColumnName in interface Rowpos - the column positionnullpublic int getColumnIndex(String name)
RowgetColumnIndex in interface Rowname - the column name-1 if not foundpublic <T> T get(Class<T> type, int pos)
Tupleposition and the specified type.
The type can be one of the types returned by the row (e.g String.class) or an array
of the type (e.g String[].class)).
public <T> T[] getValues(Class<T> type, int pos)
public Numeric getNumeric(String name)
RowNumeric value for the given column.getNumeric in interface Rowname - the columncolumn valuepublic Object[] getArrayOfJsons(String name)
Rowcolumn, the element might be null or one of the following types:
getArrayOfJsons in interface Rowname - the column namecolumn valuepublic Numeric[] getArrayOfNumerics(String name)
RowNumeric value for the given column.getArrayOfNumerics in interface Rowname - the columncolumn valuepublic Character getChar(int pos)
public Numeric getNumeric(int pos)
TupleNumeric value at pos.getNumeric in interface Tuplepos - the positionpublic Object getJson(int pos)
JsonObject or JsonArray value.public Character[] getArrayOfChars(int pos)
public Object[] getArrayOfJsons(int pos)
Json array value, the Json value may be a string, number, JSON object, array, boolean or null.getArrayOfJsons in interface Tuplepos - the positionpublic Numeric[] getArrayOfNumerics(int pos)
TupleNumeric value at pos.getArrayOfNumerics in interface Tuplepos - the columnCopyright © 2021. All rights reserved.