Class RowArray
java.lang.Object
com.apple.foundationdb.relational.api.RowArray
- All Implemented Interfaces:
EmbeddedRelationalArray
,com.apple.foundationdb.relational.api.RelationalArray
,Array
,Wrapper
@API(EXPERIMENTAL)
public class RowArray
extends Object
implements com.apple.foundationdb.relational.api.RelationalArray, EmbeddedRelationalArray
An implementation of a RelationalArray that is materialized, that is, it holds all its elements in a
List
. The
element can themselves be materialized or not.
This class is not thread-safe, and in general should not be used in concurrent environments.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.apple.foundationdb.relational.api.EmbeddedRelationalArray
EmbeddedRelationalArray.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
com.apple.foundationdb.relational.api.ArrayMetaData
com.apple.foundationdb.relational.api.RelationalResultSet
getResultSet
(long oneBasedIndex, int count) int
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.apple.foundationdb.relational.api.RelationalArray
free, getArray, getArray, getArray, getArray, getBaseTypeName, getResultSet, getResultSet, getResultSet, isWrapperFor, unwrap
-
Constructor Details
-
RowArray
public RowArray(@Nonnull List<?> elements, @Nonnull com.apple.foundationdb.relational.api.ArrayMetaData arrayMetaData)
-
-
Method Details
-
getResultSet
public com.apple.foundationdb.relational.api.RelationalResultSet getResultSet(long oneBasedIndex, int count) throws SQLException - Specified by:
getResultSet
in interfaceArray
- Specified by:
getResultSet
in interfacecom.apple.foundationdb.relational.api.RelationalArray
- Throws:
SQLException
-
getBaseType
- Specified by:
getBaseType
in interfaceArray
- Throws:
SQLException
-
getMetaData
@Nonnull public com.apple.foundationdb.relational.api.ArrayMetaData getMetaData() throws SQLException- Specified by:
getMetaData
in interfacecom.apple.foundationdb.relational.api.RelationalArray
- Throws:
SQLException
-
toString
-
equals
-
hashCode
public int hashCode()
-