Class RowStruct

java.lang.Object
com.apple.foundationdb.relational.api.RowStruct
All Implemented Interfaces:
EmbeddedRelationalStruct, com.apple.foundationdb.relational.api.RelationalStruct, Struct, Wrapper
Direct Known Subclasses:
ImmutableRowStruct, MutableRowStruct

public abstract class RowStruct extends Object implements com.apple.foundationdb.relational.api.RelationalStruct, EmbeddedRelationalStruct
Implementation of RelationalStruct that is backed by a Row.
  • Field Details

    • wasNull

      protected boolean wasNull
  • Constructor Details

    • RowStruct

      protected RowStruct(com.apple.foundationdb.relational.api.StructMetaData metaData)
  • Method Details

    • getMetaData

      public com.apple.foundationdb.relational.api.StructMetaData getMetaData() throws SQLException
      Specified by:
      getMetaData in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getBoolean

      public boolean getBoolean(int oneBasedPosition) throws SQLException
      Specified by:
      getBoolean in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getObjectInternal

      protected abstract Object getObjectInternal(int zeroBasedPosition) throws SQLException
      Throws:
      SQLException
    • wasNull

      public boolean wasNull()
      Specified by:
      wasNull in interface com.apple.foundationdb.relational.api.RelationalStruct
    • getBoolean

      public boolean getBoolean(String columnLabel) throws SQLException
      Specified by:
      getBoolean in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getBytes

      public byte[] getBytes(int oneBasedPosition) throws SQLException
      Specified by:
      getBytes in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getBytes

      public byte[] getBytes(String columnLabel) throws SQLException
      Specified by:
      getBytes in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getInt

      public int getInt(int oneBasedPosition) throws SQLException
      Specified by:
      getInt in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getInt

      public int getInt(String columnLabel) throws SQLException
      Specified by:
      getInt in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getLong

      public long getLong(int oneBasedPosition) throws SQLException
      Specified by:
      getLong in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getLong

      public long getLong(String columnLabel) throws SQLException
      Specified by:
      getLong in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getFloat

      public float getFloat(int oneBasedPosition) throws SQLException
      Specified by:
      getFloat in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getFloat

      public float getFloat(String columnLabel) throws SQLException
      Specified by:
      getFloat in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getDouble

      public double getDouble(int oneBasedPosition) throws SQLException
      Specified by:
      getDouble in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getDouble

      public double getDouble(String columnLabel) throws SQLException
      Specified by:
      getDouble in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getObject

      public Object getObject(String columnLabel) throws SQLException
      Specified by:
      getObject in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getObject

      public Object getObject(int oneBasedPosition) throws SQLException
      Specified by:
      getObject in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getString

      public String getString(int oneBasedPosition) throws SQLException
      Specified by:
      getString in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getString

      public String getString(String columnLabel) throws SQLException
      Specified by:
      getString in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getArray

      public com.apple.foundationdb.relational.api.RelationalArray getArray(int oneBasedPosition) throws SQLException
      Specified by:
      getArray in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getArray

      public com.apple.foundationdb.relational.api.RelationalArray getArray(String columnLabel) throws SQLException
      Specified by:
      getArray in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getStruct

      public com.apple.foundationdb.relational.api.RelationalStruct getStruct(int oneBasedColumn) throws SQLException
      Specified by:
      getStruct in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • getStruct

      public com.apple.foundationdb.relational.api.RelationalStruct getStruct(String columnLabel) throws SQLException
      Specified by:
      getStruct in interface com.apple.foundationdb.relational.api.RelationalStruct
      Throws:
      SQLException
    • toString

      public String toString()
      Overrides:
      toString in class Object