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 TypeMethodDescriptionbooleanintcom.apple.foundationdb.relational.api.ArrayMetaDatacom.apple.foundationdb.relational.api.RelationalResultSetgetResultSet(long oneBasedIndex, int count) inthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getResultSetin interfaceArray- Specified by:
getResultSetin interfacecom.apple.foundationdb.relational.api.RelationalArray- Throws:
SQLException
-
getBaseType
- Specified by:
getBaseTypein interfaceArray- Throws:
SQLException
-
getMetaData
@Nonnull public com.apple.foundationdb.relational.api.ArrayMetaData getMetaData() throws SQLException- Specified by:
getMetaDatain interfacecom.apple.foundationdb.relational.api.RelationalArray- Throws:
SQLException
-
toString
-
equals
-
hashCode
public int hashCode()
-