类 Record
java.lang.Object
cn.sylinx.horm.core.common.Record
- 所有已实现的接口:
Serializable
记录对象
- 作者:
- han
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidclear()get(int index) 通过索引获取值<T> T获取值获取列值<T> T获取值getBigDecimal(int index) 获取java.math.BigDecimalgetBigDecimal(String column) 获取java.math.BigDecimalgetBigInteger(int index) 获取BigIntegergetBigInteger(String column) 获取BigIntegergetBoolean(int index) 获取BooleangetBoolean(String column) 获取BooleangetByte(int index) 获取byte获取bytebyte[]getBytes(int index) 获取byte[]byte[]获取byte[]getDate(int index) 获取java.util.Date获取java.util.DategetDouble(int index) 获取Double获取DoublegetFloat(int index) 获取Float获取FloatgetInteger(int index) 获取IntegergetInteger(String column) 获取IntegergetLong(int index) 获取Long获取LonggetNumber(int index) 获取Number获取NumbergetString(int index) 获取String获取StringgetTime(int index) 获取java.sql.Time获取java.sql.TimegetTimestamp(int index) 获取java.sql.TimestampgetTimestamp(String column) 获取java.sql.Timestampvoid存放值void存放值voidsetIndexMap(HashMap<Integer, String> indexMap) voidtoString()
-
构造器详细资料
-
Record
public Record()
-
-
方法详细资料
-
put
存放值- 参数:
column- 列value- 值
-
put
存放值- 参数:
column-index-value-
-
get
获取列值- 参数:
column- 列- 返回:
- Object
-
get
通过索引获取值- 参数:
index- 从1开始- 返回:
-
getString
获取String- 参数:
column- 列- 返回:
- String
-
getString
获取String- 参数:
index-- 返回:
-
getInteger
获取Integer- 参数:
column- 列- 返回:
- Integer
-
getInteger
获取Integer- 参数:
index-- 返回:
-
getLong
获取Long- 参数:
column- 列- 返回:
- Long
-
getLong
获取Long- 参数:
index-- 返回:
-
getBigInteger
获取BigInteger- 参数:
column- 列- 返回:
- BigInteger
-
getBigInteger
获取BigInteger- 参数:
index-- 返回:
-
getDate
获取java.util.Date- 参数:
column- 列- 返回:
- java.util.Date
-
getDate
获取java.util.Date- 参数:
index-- 返回:
-
getTime
获取java.sql.Time- 参数:
column- 列- 返回:
- java.sql.Time
-
getTime
获取java.sql.Time- 参数:
index-- 返回:
-
getTimestamp
获取java.sql.Timestamp- 参数:
column- 列- 返回:
- java.sql.Timestamp
-
getTimestamp
获取java.sql.Timestamp- 参数:
index-- 返回:
-
getDouble
获取Double- 参数:
column- 列- 返回:
- Double
-
getDouble
获取Double- 参数:
index-- 返回:
-
getFloat
获取Float- 参数:
column- 列- 返回:
- Float
-
getFloat
获取Float- 参数:
index-- 返回:
-
getBoolean
获取Boolean- 参数:
column- 列- 返回:
- Boolean
-
getBoolean
获取Boolean- 参数:
index-- 返回:
-
getByte
获取byte- 参数:
column-- 返回:
-
getByte
获取byte- 参数:
index-- 返回:
-
get
获取值- 参数:
column-clz-- 返回:
-
get
获取值- 参数:
index-clz-- 返回:
-
getBigDecimal
获取java.math.BigDecimal- 参数:
column- 列- 返回:
- java.math.BigDecimal
-
getBigDecimal
获取java.math.BigDecimal- 参数:
index-- 返回:
-
getBytes
获取byte[]- 参数:
column- 列- 返回:
- byte[]
-
getBytes
public byte[] getBytes(int index) 获取byte[]- 参数:
index-- 返回:
-
getNumber
获取Number- 参数:
column- 列- 返回:
- Number
-
getNumber
获取Number- 参数:
index-- 返回:
-
getResult
-
setResult
-
getIndexMap
-
setIndexMap
-
clear
public void clear() -
toString
-