| 构造器和说明 |
|---|
SQLRowImpl(SQLRows sqlRows,
int rowIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
get(int columnIndex)
根据列游标获取数据对象。
|
Object |
get(String name)
根据列名获取数据对象。
|
ByteBuffer |
getBinary(int columnIndex)
根据列游标获取 Binary 类型的值。
|
ByteBuffer |
getBinary(String name)
根据列名获取 BINARY 类型的值。
|
Boolean |
getBoolean(int columnIndex)
根据列游标获取布尔类型的值。
|
Boolean |
getBoolean(String name)
根据列名获取布尔类型的值。
|
Double |
getDouble(int columnIndex)
根据列游标获取浮点数类型的值。
|
Double |
getDouble(String name)
根据列名获取浮点数类型的值。
|
Long |
getLong(int columnIndex)
根据列游标获取整型的值。
|
Long |
getLong(String name)
根据列名获取整型的值。
|
String |
getString(int columnIndex)
根据列游标获取字符串类型的值。
|
String |
getString(String name)
根据列名获取字符串类型的值。
|
String |
toDebugString()
建议只用于 Debug 和 测试使用
格式化输出该行的数据,按"columnA: valueA, columnB: valueB"的格式
|
public SQLRowImpl(SQLRows sqlRows, int rowIndex)
public String getString(int columnIndex)
SQLRow当前仅当数据类型为ColumnType.STRING才能获取到值。
public String getString(String name)
SQLRow当前仅当数据类型为ColumnType.STRING才能获取到值。
public Long getLong(int columnIndex)
SQLRow当前仅当数据类型为ColumnType.INTEGER才能获取到值。
public Long getLong(String name)
SQLRow当前仅当数据类型为ColumnType.INTEGER才能获取到值。
public Boolean getBoolean(int columnIndex)
SQLRow当前仅当数据类型为ColumnType.BOOLEAN才能获取到值。
getBoolean 在接口中 SQLRowcolumnIndex - 列游标public Boolean getBoolean(String name)
SQLRow当前仅当数据类型为ColumnType.BOOLEAN才能获取到值。
getBoolean 在接口中 SQLRowname - 列名public Double getDouble(int columnIndex)
SQLRow当前仅当数据类型为ColumnType.DOUBLE才能获取到值。
public Double getDouble(String name)
SQLRow当前仅当数据类型为ColumnType.DOUBLE才能获取到值。
public ByteBuffer getBinary(int columnIndex)
SQLRow当前仅当数据类型为ColumnType.BINARY才能获取到值。
public ByteBuffer getBinary(String name)
SQLRow当前仅当数据类型为ColumnType.BINARY才能获取到值。
public String toDebugString()
SQLRowtoDebugString 在接口中 SQLRowCopyright © 2022. All Rights Reserved.