Class RsetDataReader

java.lang.Object
io.ebeaninternal.server.type.RsetDataReader
All Implemented Interfaces:
io.ebean.core.type.DataReader
Direct Known Subclasses:
RsetDataReaderIndexed

public class RsetDataReader extends Object implements io.ebean.core.type.DataReader
  • Field Details

    • pos

      protected int pos
  • Constructor Details

    • RsetDataReader

      public RsetDataReader(boolean unmodifiable, DataTimeZone dataTimeZone, ResultSet rset)
  • Method Details

    • unmodifiable

      public boolean unmodifiable()
      Specified by:
      unmodifiable in interface io.ebean.core.type.DataReader
    • pushJson

      public final void pushJson(String json)
      Specified by:
      pushJson in interface io.ebean.core.type.DataReader
    • popJson

      public final String popJson()
      Specified by:
      popJson in interface io.ebean.core.type.DataReader
    • close

      public final void close() throws SQLException
      Specified by:
      close in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • next

      public final boolean next() throws SQLException
      Specified by:
      next in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • incrementPos

      public final void incrementPos(int increment)
      Specified by:
      incrementPos in interface io.ebean.core.type.DataReader
    • pos

      protected int pos()
    • getArray

      public final Array getArray() throws SQLException
      Specified by:
      getArray in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getObject

      public final Object getObject() throws SQLException
      Specified by:
      getObject in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getObject

      public final <T> T getObject(Class<T> cls) throws SQLException
      Specified by:
      getObject in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getBigDecimal

      public final BigDecimal getBigDecimal() throws SQLException
      Specified by:
      getBigDecimal in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getBinaryStream

      public final InputStream getBinaryStream() throws SQLException
      Specified by:
      getBinaryStream in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getBoolean

      public final Boolean getBoolean() throws SQLException
      Specified by:
      getBoolean in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getByte

      public final Byte getByte() throws SQLException
      Specified by:
      getByte in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getBytes

      public final byte[] getBytes() throws SQLException
      Specified by:
      getBytes in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getDate

      public final Date getDate() throws SQLException
      Specified by:
      getDate in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getDouble

      public final Double getDouble() throws SQLException
      Specified by:
      getDouble in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getFloat

      public final Float getFloat() throws SQLException
      Specified by:
      getFloat in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getInt

      public final Integer getInt() throws SQLException
      Specified by:
      getInt in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getLong

      public final Long getLong() throws SQLException
      Specified by:
      getLong in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getRef

      public final Ref getRef() throws SQLException
      Throws:
      SQLException
    • getShort

      public final Short getShort() throws SQLException
      Specified by:
      getShort in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getString

      public final String getString() throws SQLException
      Specified by:
      getString in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getTime

      public final Time getTime() throws SQLException
      Specified by:
      getTime in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getTimestamp

      public final Timestamp getTimestamp() throws SQLException
      Specified by:
      getTimestamp in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getStringFromStream

      public final String getStringFromStream() throws SQLException
      Specified by:
      getStringFromStream in interface io.ebean.core.type.DataReader
      Throws:
      SQLException
    • getBinaryBytes

      public final byte[] getBinaryBytes() throws SQLException
      Specified by:
      getBinaryBytes in interface io.ebean.core.type.DataReader
      Throws:
      SQLException