public interface SQLRow
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(int columnIndex)
Get the data object according to the column cursor.
|
Object |
get(String name)
Get the data object by column name.
|
ByteBuffer |
getBinary(int columnIndex)
Get the value of Binary type according to the column cursor.
|
ByteBuffer |
getBinary(String name)
Get the value of BINARY type according to the column name.
|
Boolean |
getBoolean(int columnIndex)
Get the value of boolean type according to the column cursor.
|
Boolean |
getBoolean(String name)
Get the value of boolean type according to the column name.
|
java.time.LocalDate |
getDate(int columnIndex)
Get the date type value according to the column cursor.
|
java.time.LocalDate |
getDate(String name)
Get the value of date type according to the column name.
|
java.time.ZonedDateTime |
getDateTime(int columnIndex)
Get the value of time type according to the column cursor.
|
java.time.ZonedDateTime |
getDateTime(String name)
Get the value of time type according to the column name.
|
Double |
getDouble(int columnIndex)
Get the value of float type according to the column cursor.
|
Double |
getDouble(String name)
Get the value of float type according to the column name.
|
Long |
getLong(int columnIndex)
Get the integer value according to the column cursor.
|
Long |
getLong(String name)
Get the integer value by column name.
|
String |
getString(int columnIndex)
Get the string type value according to the column cursor.
|
String |
getString(String name)
Get the string type value by column name.
|
java.time.Duration |
getTime(int columnIndex)
Get the value of the time interval type according to the column cursor.
|
java.time.Duration |
getTime(String name)
Get the value of time interval type according to the column name.
|
String |
toDebugString()
It is recommended to use only for Debug and Testing.
|
Object get(int columnIndex)
columnIndex - Column cursorObject get(String name)
name - Column nameString getString(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.STRING.
columnIndex - Column cursorString getString(String name)
Currently, the value can only be obtained when the data type is ColumnType.STRING.
name - Column nameLong getLong(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.INTEGER.
columnIndex - Column cursorLong getLong(String name)
Currently, the value can only be obtained when the data type is ColumnType.INTEGER.
name - Column nameBoolean getBoolean(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.BOOLEAN.
columnIndex - Column cursorBoolean getBoolean(String name)
Currently, the value can only be obtained when the data type is ColumnType.BOOLEAN.
name - Column nameDouble getDouble(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.DOUBLE.
columnIndex - Column cursorDouble getDouble(String name)
Currently, the value can only be obtained when the data type is ColumnType.DOUBLE.
name - Column namejava.time.ZonedDateTime getDateTime(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.DATETIME.
columnIndex - Column cursorjava.time.ZonedDateTime getDateTime(String name)
Currently, the value can only be obtained when the data type is ColumnType.DATETIME.
name - Column namejava.time.Duration getTime(int columnIndex)
Currently, a value can only be obtained when the data type is ColumnType.TIME.
columnIndex - Column cursorjava.time.Duration getTime(String name)
Currently, the value can only be obtained when the data type is ColumnType.TIME.
name - Column namejava.time.LocalDate getDate(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.DATE.
columnIndex - Column cursorjava.time.LocalDate getDate(String name)
Currently, the value can only be obtained when the data type is ColumnType.DATE.
name - Column nameByteBuffer getBinary(int columnIndex)
Currently, the value can only be obtained when the data type is ColumnType.BINARY.
columnIndex - Column cursorByteBuffer getBinary(String name)
Currently, the value can only be obtained when the data type is ColumnType.BINARY.
name - Column nameString toDebugString()
Copyright © 2025. All Rights Reserved.