Package io.ebeaninternal.server.type
Class RsetDataReader
- java.lang.Object
-
- io.ebeaninternal.server.type.RsetDataReader
-
- All Implemented Interfaces:
DataReader
- Direct Known Subclasses:
RsetDataReaderIndexed
public class RsetDataReader extends Object implements DataReader
-
-
Constructor Summary
Constructors Constructor Description RsetDataReader(DataTimeZone dataTimeZone, ResultSet rset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Array
getArray()
BigDecimal
getBigDecimal()
byte[]
getBinaryBytes()
InputStream
getBinaryStream()
Boolean
getBoolean()
Byte
getByte()
byte[]
getBytes()
Date
getDate()
Double
getDouble()
Float
getFloat()
Integer
getInt()
Long
getLong()
Object
getObject()
Ref
getRef()
Short
getShort()
String
getString()
String
getStringFromStream()
Time
getTime()
Timestamp
getTimestamp()
void
incrementPos(int increment)
boolean
next()
void
resetColumnPosition()
-
-
-
Constructor Detail
-
RsetDataReader
public RsetDataReader(DataTimeZone dataTimeZone, ResultSet rset)
-
-
Method Detail
-
close
public void close() throws SQLException
- Specified by:
close
in interfaceDataReader
- Throws:
SQLException
-
next
public boolean next() throws SQLException
- Specified by:
next
in interfaceDataReader
- Throws:
SQLException
-
resetColumnPosition
public void resetColumnPosition()
- Specified by:
resetColumnPosition
in interfaceDataReader
-
incrementPos
public void incrementPos(int increment)
- Specified by:
incrementPos
in interfaceDataReader
-
getArray
public Array getArray() throws SQLException
- Specified by:
getArray
in interfaceDataReader
- Throws:
SQLException
-
getObject
public Object getObject() throws SQLException
- Specified by:
getObject
in interfaceDataReader
- Throws:
SQLException
-
getBigDecimal
public BigDecimal getBigDecimal() throws SQLException
- Specified by:
getBigDecimal
in interfaceDataReader
- Throws:
SQLException
-
getBinaryStream
public InputStream getBinaryStream() throws SQLException
- Specified by:
getBinaryStream
in interfaceDataReader
- Throws:
SQLException
-
getBoolean
public Boolean getBoolean() throws SQLException
- Specified by:
getBoolean
in interfaceDataReader
- Throws:
SQLException
-
getByte
public Byte getByte() throws SQLException
- Specified by:
getByte
in interfaceDataReader
- Throws:
SQLException
-
getBytes
public byte[] getBytes() throws SQLException
- Specified by:
getBytes
in interfaceDataReader
- Throws:
SQLException
-
getDate
public Date getDate() throws SQLException
- Specified by:
getDate
in interfaceDataReader
- Throws:
SQLException
-
getDouble
public Double getDouble() throws SQLException
- Specified by:
getDouble
in interfaceDataReader
- Throws:
SQLException
-
getFloat
public Float getFloat() throws SQLException
- Specified by:
getFloat
in interfaceDataReader
- Throws:
SQLException
-
getInt
public Integer getInt() throws SQLException
- Specified by:
getInt
in interfaceDataReader
- Throws:
SQLException
-
getLong
public Long getLong() throws SQLException
- Specified by:
getLong
in interfaceDataReader
- Throws:
SQLException
-
getRef
public Ref getRef() throws SQLException
- Throws:
SQLException
-
getShort
public Short getShort() throws SQLException
- Specified by:
getShort
in interfaceDataReader
- Throws:
SQLException
-
getString
public String getString() throws SQLException
- Specified by:
getString
in interfaceDataReader
- Throws:
SQLException
-
getTime
public Time getTime() throws SQLException
- Specified by:
getTime
in interfaceDataReader
- Throws:
SQLException
-
getTimestamp
public Timestamp getTimestamp() throws SQLException
- Specified by:
getTimestamp
in interfaceDataReader
- Throws:
SQLException
-
getStringFromStream
public String getStringFromStream() throws SQLException
- Specified by:
getStringFromStream
in interfaceDataReader
- Throws:
SQLException
-
getBinaryBytes
public byte[] getBinaryBytes() throws SQLException
- Specified by:
getBinaryBytes
in interfaceDataReader
- Throws:
SQLException
-
-