-
- 所有已知子接口:
DataResultSet
- 所有已知实现类:
DataJdbcSource.DataJdbcResultSet
@ClassDepends public interface DataResultSetRow
- 作者:
- zhangjx
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 BigDecimalgetBigDecimal(int columnIndex)根据字段序号获取字段值, index从1开始BigDecimalgetBigDecimal(String columnLabel)根据字段名获取字段值BooleangetBoolean(int columnIndex)根据字段序号获取字段值, index从1开始default booleangetBoolean(int columnIndex, boolean defValue)根据字段序号获取字段值, index从1开始BooleangetBoolean(String columnLabel)根据字段名获取字段值default booleangetBoolean(String columnLabel, boolean defValue)根据字段名获取字段值byte[]getBytes(int columnIndex)根据字段序号获取字段值, index从1开始byte[]getBytes(String columnLabel)根据字段名获取字段值List<String>getColumnLabels()获取字段名集合,尽量不要多次调用DoublegetDouble(int columnIndex)根据字段序号获取字段值, index从1开始default doublegetDouble(int columnIndex, double defValue)根据字段序号获取字段值, index从1开始DoublegetDouble(String columnLabel)根据字段名获取字段值default doublegetDouble(String columnLabel, double defValue)根据字段名获取字段值EntityInfogetEntityInfo()FloatgetFloat(int columnIndex)根据字段序号获取字段值, index从1开始default floatgetFloat(int columnIndex, float defValue)根据字段序号获取字段值, index从1开始FloatgetFloat(String columnLabel)根据字段名获取字段值default floatgetFloat(String columnLabel, float defValue)根据字段名获取字段值IntegergetInteger(int columnIndex)根据字段序号获取字段值, index从1开始default intgetInteger(int columnIndex, int defValue)根据字段序号获取字段值, index从1开始IntegergetInteger(String columnLabel)根据字段名获取字段值default intgetInteger(String columnLabel, int defValue)根据字段名获取字段值LonggetLong(int columnIndex)根据字段序号获取字段值, index从1开始default longgetLong(int columnIndex, long defValue)根据字段序号获取字段值, index从1开始LonggetLong(String columnLabel)根据字段名获取字段值default longgetLong(String columnLabel, long defValue)根据字段名获取字段值ObjectgetObject(int columnIndex)根据字段序号获取字段值, index从1开始ObjectgetObject(String columnLabel)根据字段名获取字段值default <T> SerializablegetObject(Attribute<T,Serializable> attr, int columnIndex, String columnLabel)根据字段序号获取字段值, index从1开始ShortgetShort(int columnIndex)根据字段序号获取字段值, index从1开始default shortgetShort(int columnIndex, short defValue)根据字段序号获取字段值, index从1开始ShortgetShort(String columnLabel)根据字段名获取字段值default shortgetShort(String columnLabel, short defValue)根据字段名获取字段值StringgetString(int columnIndex)根据字段序号获取字段值, index从1开始StringgetString(String columnLabel)根据字段名获取字段值booleanwasNull()判断当前行值是否为null
-
-
-
方法详细资料
-
getEntityInfo
@Nullable EntityInfo getEntityInfo()
-
getObject
Object getObject(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getObject
default <T> Serializable getObject(Attribute<T,Serializable> attr, int columnIndex, String columnLabel)
根据字段序号获取字段值, index从1开始- 类型参数:
T- 泛型- 参数:
attr- AttributecolumnIndex- 字段序号columnLabel- 字段名- 返回:
- 字段值
-
getString
@ClassDepends String getString(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getString
@ClassDepends String getString(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getBytes
@ClassDepends byte[] getBytes(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getBytes
@ClassDepends byte[] getBytes(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getBigDecimal
@ClassDepends BigDecimal getBigDecimal(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getBigDecimal
@ClassDepends BigDecimal getBigDecimal(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getBoolean
@ClassDepends Boolean getBoolean(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getBoolean
@ClassDepends Boolean getBoolean(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getShort
@ClassDepends Short getShort(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getShort
@ClassDepends Short getShort(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getInteger
@ClassDepends Integer getInteger(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getInteger
@ClassDepends Integer getInteger(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getFloat
@ClassDepends Float getFloat(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getFloat
@ClassDepends Float getFloat(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getLong
@ClassDepends Long getLong(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getLong
@ClassDepends Long getLong(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getDouble
@ClassDepends Double getDouble(int columnIndex)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号- 返回:
- 字段值
-
getDouble
@ClassDepends Double getDouble(String columnLabel)
根据字段名获取字段值- 参数:
columnLabel- 字段名- 返回:
- 字段值
-
getBoolean
@ClassDepends default boolean getBoolean(int columnIndex, boolean defValue)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号defValue- 默认值- 返回:
- 字段值
-
getBoolean
@ClassDepends default boolean getBoolean(String columnLabel, boolean defValue)
根据字段名获取字段值- 参数:
columnLabel- 字段名defValue- 默认值- 返回:
- 字段值
-
getShort
@ClassDepends default short getShort(int columnIndex, short defValue)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号defValue- 默认值- 返回:
- 字段值
-
getShort
@ClassDepends default short getShort(String columnLabel, short defValue)
根据字段名获取字段值- 参数:
columnLabel- 字段名defValue- 默认值- 返回:
- 字段值
-
getInteger
@ClassDepends default int getInteger(int columnIndex, int defValue)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号defValue- 默认值- 返回:
- 字段值
-
getInteger
@ClassDepends default int getInteger(String columnLabel, int defValue)
根据字段名获取字段值- 参数:
columnLabel- 字段名defValue- 默认值- 返回:
- 字段值
-
getFloat
@ClassDepends default float getFloat(int columnIndex, float defValue)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号defValue- 默认值- 返回:
- 字段值
-
getFloat
@ClassDepends default float getFloat(String columnLabel, float defValue)
根据字段名获取字段值- 参数:
columnLabel- 字段名defValue- 默认值- 返回:
- 字段值
-
getLong
@ClassDepends default long getLong(int columnIndex, long defValue)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号defValue- 默认值- 返回:
- 字段值
-
getLong
@ClassDepends default long getLong(String columnLabel, long defValue)
根据字段名获取字段值- 参数:
columnLabel- 字段名defValue- 默认值- 返回:
- 字段值
-
getDouble
@ClassDepends default double getDouble(int columnIndex, double defValue)
根据字段序号获取字段值, index从1开始- 参数:
columnIndex- 字段序号defValue- 默认值- 返回:
- 字段值
-
getDouble
@ClassDepends default double getDouble(String columnLabel, double defValue)
根据字段名获取字段值- 参数:
columnLabel- 字段名defValue- 默认值- 返回:
- 字段值
-
wasNull
@ClassDepends boolean wasNull()
判断当前行值是否为null- 返回:
- boolean
-
-