| 构造器和说明 |
|---|
SQLRowImpl(SQLRows sqlRows,
int rowIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public SQLRowImpl(SQLRows sqlRows, int rowIndex)
public Object get(int columnIndex)
SQLRowpublic String getString(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.STRING.
public String getString(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.STRING.
public Long getLong(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.INTEGER.
public Long getLong(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.INTEGER.
public Boolean getBoolean(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.BOOLEAN.
getBoolean 在接口中 SQLRowcolumnIndex - Column cursorpublic Boolean getBoolean(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.BOOLEAN.
getBoolean 在接口中 SQLRowname - Column namepublic Double getDouble(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.DOUBLE.
public Double getDouble(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.DOUBLE.
public java.time.ZonedDateTime getDateTime(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.DATETIME.
getDateTime 在接口中 SQLRowcolumnIndex - Column cursorpublic java.time.ZonedDateTime getDateTime(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.DATETIME.
getDateTime 在接口中 SQLRowname - Column namepublic java.time.Duration getTime(int columnIndex)
SQLRowCurrently, a value can only be obtained when the data type is ColumnType.TIME.
public java.time.Duration getTime(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.TIME.
public java.time.LocalDate getDate(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.DATE.
public java.time.LocalDate getDate(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.DATE.
public ByteBuffer getBinary(int columnIndex)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.BINARY.
public ByteBuffer getBinary(String name)
SQLRowCurrently, the value can only be obtained when the data type is ColumnType.BINARY.
public String toDebugString()
SQLRowtoDebugString 在接口中 SQLRowCopyright © 2025. All Rights Reserved.