类 Record

java.lang.Object
cn.sylinx.horm.core.common.Record
所有已实现的接口:
Serializable

public class Record extends Object implements Serializable
记录对象
作者:
han
另请参阅:
  • 构造器详细资料

    • Record

      public Record()
  • 方法详细资料

    • put

      public void put(String column, Object value)
      存放值
      参数:
      column - 列
      value - 值
    • put

      public void put(String column, Integer index, Object value)
      存放值
      参数:
      column -
      index -
      value -
    • get

      public Object get(String column)
      获取列值
      参数:
      column - 列
      返回:
      Object
    • get

      public Object get(int index)
      通过索引获取值
      参数:
      index - 从1开始
      返回:
    • getString

      public String getString(String column)
      获取String
      参数:
      column - 列
      返回:
      String
    • getString

      public String getString(int index)
      获取String
      参数:
      index -
      返回:
    • getInteger

      public Integer getInteger(String column)
      获取Integer
      参数:
      column - 列
      返回:
      Integer
    • getInteger

      public Integer getInteger(int index)
      获取Integer
      参数:
      index -
      返回:
    • getLong

      public Long getLong(String column)
      获取Long
      参数:
      column - 列
      返回:
      Long
    • getLong

      public Long getLong(int index)
      获取Long
      参数:
      index -
      返回:
    • getBigInteger

      public BigInteger getBigInteger(String column)
      获取BigInteger
      参数:
      column - 列
      返回:
      BigInteger
    • getBigInteger

      public BigInteger getBigInteger(int index)
      获取BigInteger
      参数:
      index -
      返回:
    • getDate

      public Date getDate(String column)
      获取java.util.Date
      参数:
      column - 列
      返回:
      java.util.Date
    • getDate

      public Date getDate(int index)
      获取java.util.Date
      参数:
      index -
      返回:
    • getTime

      public Time getTime(String column)
      获取java.sql.Time
      参数:
      column - 列
      返回:
      java.sql.Time
    • getTime

      public Time getTime(int index)
      获取java.sql.Time
      参数:
      index -
      返回:
    • getTimestamp

      public Timestamp getTimestamp(String column)
      获取java.sql.Timestamp
      参数:
      column - 列
      返回:
      java.sql.Timestamp
    • getTimestamp

      public Timestamp getTimestamp(int index)
      获取java.sql.Timestamp
      参数:
      index -
      返回:
    • getDouble

      public Double getDouble(String column)
      获取Double
      参数:
      column - 列
      返回:
      Double
    • getDouble

      public Double getDouble(int index)
      获取Double
      参数:
      index -
      返回:
    • getFloat

      public Float getFloat(String column)
      获取Float
      参数:
      column - 列
      返回:
      Float
    • getFloat

      public Float getFloat(int index)
      获取Float
      参数:
      index -
      返回:
    • getBoolean

      public Boolean getBoolean(String column)
      获取Boolean
      参数:
      column - 列
      返回:
      Boolean
    • getBoolean

      public Boolean getBoolean(int index)
      获取Boolean
      参数:
      index -
      返回:
    • getByte

      public Byte getByte(String column)
      获取byte
      参数:
      column -
      返回:
    • getByte

      public Byte getByte(int index)
      获取byte
      参数:
      index -
      返回:
    • get

      public <T> T get(String column, Class<T> clz)
      获取值
      参数:
      column -
      clz -
      返回:
    • get

      public <T> T get(int index, Class<T> clz)
      获取值
      参数:
      index -
      clz -
      返回:
    • getBigDecimal

      public BigDecimal getBigDecimal(String column)
      获取java.math.BigDecimal
      参数:
      column - 列
      返回:
      java.math.BigDecimal
    • getBigDecimal

      public BigDecimal getBigDecimal(int index)
      获取java.math.BigDecimal
      参数:
      index -
      返回:
    • getBytes

      public byte[] getBytes(String column)
      获取byte[]
      参数:
      column - 列
      返回:
      byte[]
    • getBytes

      public byte[] getBytes(int index)
      获取byte[]
      参数:
      index -
      返回:
    • getNumber

      public Number getNumber(String column)
      获取Number
      参数:
      column - 列
      返回:
      Number
    • getNumber

      public Number getNumber(int index)
      获取Number
      参数:
      index -
      返回:
    • getResult

      public HashMap<String,Object> getResult()
    • setResult

      public void setResult(HashMap<String,Object> result)
    • getIndexMap

      public HashMap<Integer,String> getIndexMap()
    • setIndexMap

      public void setIndexMap(HashMap<Integer,String> indexMap)
    • clear

      public void clear()
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object