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.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.apple.foundationdb.relational.api.EmbeddedRelationalStruct
EmbeddedRelationalStruct.Builder -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRowStruct(com.apple.foundationdb.relational.api.StructMetaData metaData) -
Method Summary
Modifier and TypeMethodDescriptioncom.apple.foundationdb.relational.api.RelationalArraygetArray(int oneBasedPosition) com.apple.foundationdb.relational.api.RelationalArraybooleangetBoolean(int oneBasedPosition) booleangetBoolean(String columnLabel) byte[]getBytes(int oneBasedPosition) byte[]doublegetDouble(int oneBasedPosition) doublefloatgetFloat(int oneBasedPosition) floatintgetInt(int oneBasedPosition) intlonggetLong(int oneBasedPosition) longcom.apple.foundationdb.relational.api.StructMetaDatagetObject(int oneBasedPosition) protected abstract ObjectgetObjectInternal(int zeroBasedPosition) getString(int oneBasedPosition) com.apple.foundationdb.relational.api.RelationalStructgetStruct(int oneBasedColumn) com.apple.foundationdb.relational.api.RelationalStructgetUUID(int oneBasedColumn) toString()booleanwasNull()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.apple.foundationdb.relational.api.RelationalStruct
getAttributes, getAttributes, getSQLTypeName, isWrapperFor, unwrap
-
Field Details
-
wasNull
protected boolean wasNull
-
-
Constructor Details
-
RowStruct
protected RowStruct(com.apple.foundationdb.relational.api.StructMetaData metaData)
-
-
Method Details
-
getMetaData
- Specified by:
getMetaDatain interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getObjectInternal
- Throws:
SQLException
-
wasNull
public boolean wasNull()- Specified by:
wasNullin interfacecom.apple.foundationdb.relational.api.RelationalStruct
-
getBoolean
- Specified by:
getBooleanin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getString
- Specified by:
getStringin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getString
- Specified by:
getStringin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getArray
public com.apple.foundationdb.relational.api.RelationalArray getArray(int oneBasedPosition) throws SQLException - Specified by:
getArrayin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getArray
public com.apple.foundationdb.relational.api.RelationalArray getArray(String columnLabel) throws SQLException - Specified by:
getArrayin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getStruct
public com.apple.foundationdb.relational.api.RelationalStruct getStruct(int oneBasedColumn) throws SQLException - Specified by:
getStructin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getUUID
- Specified by:
getUUIDin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getUUID
- Specified by:
getUUIDin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
getStruct
public com.apple.foundationdb.relational.api.RelationalStruct getStruct(String columnLabel) throws SQLException - Specified by:
getStructin interfacecom.apple.foundationdb.relational.api.RelationalStruct- Throws:
SQLException
-
toString
-