Class AbstractRow
java.lang.Object
com.apple.foundationdb.relational.recordlayer.AbstractRow
- All Implemented Interfaces:
com.apple.foundationdb.relational.api.Row
- Direct Known Subclasses:
ArrayRow
,EmptyTuple
,ImmutableKeyValue
,MessageTuple
,ValueTuple
public abstract class AbstractRow
extends Object
implements com.apple.foundationdb.relational.api.Row
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Iterable<com.apple.foundationdb.relational.api.Row>
getArray
(int position) byte[]
getBytes
(int position) double
getDouble
(int position) float
getFloat
(int position) long
getLong
(int position) com.apple.foundationdb.relational.api.Row
getPrefix
(int length) com.apple.foundationdb.relational.api.Row
getRow
(int position) getString
(int position) int
hashCode()
boolean
startsWith
(com.apple.foundationdb.relational.api.Row prefix) 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.Row
getNumFields, getObject
-
Constructor Details
-
AbstractRow
public AbstractRow()
-
-
Method Details
-
getLong
public long getLong(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getLong
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
getFloat
public float getFloat(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getFloat
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
getDouble
public double getDouble(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getDouble
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
getString
public String getString(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getString
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
getBytes
public byte[] getBytes(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getBytes
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
getRow
public com.apple.foundationdb.relational.api.Row getRow(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getRow
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
getArray
public Iterable<com.apple.foundationdb.relational.api.Row> getArray(int position) throws com.apple.foundationdb.relational.api.exceptions.InvalidTypeException, com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException - Specified by:
getArray
in interfacecom.apple.foundationdb.relational.api.Row
- Throws:
com.apple.foundationdb.relational.api.exceptions.InvalidTypeException
com.apple.foundationdb.relational.api.exceptions.InvalidColumnReferenceException
-
equals
-
hashCode
public int hashCode() -
startsWith
public boolean startsWith(com.apple.foundationdb.relational.api.Row prefix) - Specified by:
startsWith
in interfacecom.apple.foundationdb.relational.api.Row
-
getPrefix
public com.apple.foundationdb.relational.api.Row getPrefix(int length) - Specified by:
getPrefix
in interfacecom.apple.foundationdb.relational.api.Row
-
toString
-