- java.lang.Object
-
- org.redkale.source.DataJdbcSource.DataJdbcResultSet
-
- 所有已实现的接口:
DataResultSet,DataResultSetRow
- 封闭类:
- DataJdbcSource
protected static class DataJdbcSource.DataJdbcResultSet extends Object implements DataResultSet
-
-
构造器概要
构造器 构造器 说明 DataJdbcResultSet(EntityInfo info)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()BigDecimalgetBigDecimal(int index)根据字段序号获取字段值, index从1开始BigDecimalgetBigDecimal(String column)根据字段名获取字段值BooleangetBoolean(int index)根据字段序号获取字段值, index从1开始BooleangetBoolean(String column)根据字段名获取字段值byte[]getBytes(int index)根据字段序号获取字段值, index从1开始byte[]getBytes(String column)根据字段名获取字段值List<String>getColumnLabels()获取字段名集合,尽量不要多次调用DoublegetDouble(int index)根据字段序号获取字段值, index从1开始DoublegetDouble(String column)根据字段名获取字段值EntityInfogetEntityInfo()FloatgetFloat(int index)根据字段序号获取字段值, index从1开始FloatgetFloat(String column)根据字段名获取字段值IntegergetInteger(int index)根据字段序号获取字段值, index从1开始IntegergetInteger(String column)根据字段名获取字段值LonggetLong(int index)根据字段序号获取字段值, index从1开始LonggetLong(String column)根据字段名获取字段值ObjectgetObject(int index)根据字段序号获取字段值, index从1开始ObjectgetObject(String column)根据字段名获取字段值<T> SerializablegetObject(Attribute<T,Serializable> attr, int index, String columnLabel)根据字段序号获取字段值, index从1开始ShortgetShort(int index)根据字段序号获取字段值, index从1开始ShortgetShort(String column)根据字段名获取字段值StringgetString(int index)根据字段序号获取字段值, index从1开始StringgetString(String column)根据字段名获取字段值booleannext()DataJdbcSource.DataJdbcResultSetresultSet(ResultSet set)booleanwasNull()判断当前行值是否为null-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.redkale.source.DataResultSetRow
getBoolean, getBoolean, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort
-
-
-
-
构造器详细资料
-
DataJdbcResultSet
public DataJdbcResultSet(EntityInfo info)
-
-
方法详细资料
-
resultSet
public DataJdbcSource.DataJdbcResultSet resultSet(ResultSet set)
-
getObject
public <T> Serializable getObject(Attribute<T,Serializable> attr, int index, String columnLabel)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getObject在接口中DataResultSetRow- 类型参数:
T- 泛型- 参数:
attr- Attributeindex- 字段序号columnLabel- 字段名- 返回:
- 字段值
-
next
public boolean next()
- 指定者:
next在接口中DataResultSet
-
getColumnLabels
public List<String> getColumnLabels()
从接口复制的说明:DataResultSetRow获取字段名集合,尽量不要多次调用- 指定者:
getColumnLabels在接口中DataResultSetRow- 返回:
- List
-
wasNull
public boolean wasNull()
从接口复制的说明:DataResultSetRow判断当前行值是否为null- 指定者:
wasNull在接口中DataResultSetRow- 返回:
- boolean
-
close
public void close()
- 指定者:
close在接口中DataResultSet
-
getObject
public Object getObject(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getObject在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getObject
public Object getObject(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getObject在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getString
public String getString(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getString在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getString
public String getString(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getString在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getBytes
public byte[] getBytes(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getBytes在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getBytes
public byte[] getBytes(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getBytes在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getBigDecimal
public BigDecimal getBigDecimal(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getBigDecimal在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getBigDecimal
public BigDecimal getBigDecimal(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getBigDecimal在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getBoolean
public Boolean getBoolean(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getBoolean在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getBoolean
public Boolean getBoolean(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getBoolean在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getShort
public Short getShort(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getShort在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getShort
public Short getShort(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getShort在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getInteger
public Integer getInteger(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getInteger在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getInteger
public Integer getInteger(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getInteger在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getFloat
public Float getFloat(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getFloat在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getFloat
public Float getFloat(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getFloat在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getLong
public Long getLong(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getLong在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getLong
public Long getLong(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getLong在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getDouble
public Double getDouble(int index)
从接口复制的说明:DataResultSetRow根据字段序号获取字段值, index从1开始- 指定者:
getDouble在接口中DataResultSetRow- 参数:
index- 字段序号- 返回:
- 字段值
-
getDouble
public Double getDouble(String column)
从接口复制的说明:DataResultSetRow根据字段名获取字段值- 指定者:
getDouble在接口中DataResultSetRow- 参数:
column- 字段名- 返回:
- 字段值
-
getEntityInfo
public EntityInfo getEntityInfo()
- 指定者:
getEntityInfo在接口中DataResultSetRow
-
-