Interface ReadableTuple
- All Known Subinterfaces:
TensorIterator
- All Known Implementing Classes:
BaseDenseTensorIterator,SimpleWriteableTuple,StandaloneReadableTuple
public interface ReadableTuple
A readable tuple of primitives.
-
Method Details
-
getTypes
Representable[] getTypes() -
getInt
int getInt(int column) - Returns:
- an int at given column.
-
getLong
long getLong(int column) - Returns:
- a long at given column.
-
getFloat
float getFloat(int column) - Returns:
- a float at given column.
-
getDouble
double getDouble(int column) - Returns:
- a double at given column.
-
getBoolean
boolean getBoolean(int column) - Returns:
- a boolean at given column.
-
getString
- Returns:
- a string at given column.
-
getBytes
byte[] getBytes(int column) - Returns:
- a byte array at given column.
-
getCopy
ReadableTuple getCopy()- Returns:
- a copy of this tuple, so that changes to the original tuple will not affect the new one.
-