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
ConstructorsModifierConstructorDescriptionprotected
RowStruct
(com.apple.foundationdb.relational.api.StructMetaData metaData) -
Method Summary
Modifier and TypeMethodDescriptioncom.apple.foundationdb.relational.api.RelationalArray
getArray
(int oneBasedPosition) com.apple.foundationdb.relational.api.RelationalArray
boolean
getBoolean
(int oneBasedPosition) boolean
getBoolean
(String columnLabel) byte[]
getBytes
(int oneBasedPosition) byte[]
double
getDouble
(int oneBasedPosition) double
float
getFloat
(int oneBasedPosition) float
int
getInt
(int oneBasedPosition) int
long
getLong
(int oneBasedPosition) long
com.apple.foundationdb.relational.api.StructMetaData
getObject
(int oneBasedPosition) protected abstract Object
getObjectInternal
(int zeroBasedPosition) getString
(int oneBasedPosition) com.apple.foundationdb.relational.api.RelationalStruct
getStruct
(int oneBasedColumn) com.apple.foundationdb.relational.api.RelationalStruct
toString()
boolean
wasNull()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
getMetaData
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getBoolean
- Specified by:
getBoolean
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getObjectInternal
- Throws:
SQLException
-
wasNull
public boolean wasNull()- Specified by:
wasNull
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
-
getBoolean
- Specified by:
getBoolean
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getBytes
- Specified by:
getBytes
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getInt
- Specified by:
getInt
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getLong
- Specified by:
getLong
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getFloat
- Specified by:
getFloat
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getDouble
- Specified by:
getDouble
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getObject
- Specified by:
getObject
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getString
- Specified by:
getString
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getArray
public com.apple.foundationdb.relational.api.RelationalArray getArray(int oneBasedPosition) throws SQLException - Specified by:
getArray
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getArray
public com.apple.foundationdb.relational.api.RelationalArray getArray(String columnLabel) throws SQLException - Specified by:
getArray
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getStruct
public com.apple.foundationdb.relational.api.RelationalStruct getStruct(int oneBasedColumn) throws SQLException - Specified by:
getStruct
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
getStruct
public com.apple.foundationdb.relational.api.RelationalStruct getStruct(String columnLabel) throws SQLException - Specified by:
getStruct
in interfacecom.apple.foundationdb.relational.api.RelationalStruct
- Throws:
SQLException
-
toString
-