Package com.qfs.chunk
Interface ITable
-
- All Known Subinterfaces:
IAggregatesRetrievalResult,IAggregateStore,IByteRecordBlock,IChunkSet,IColumnarTable,IDatabaseRetrievalResult,IFixedLengthIntegerArrayDictionary,IIntegerArrayDictionary,IInternalAggregatesRetrievalResult,IIterableAggregatesRetrievalResult,IPointList,IRecordBlock<RecordT>,ITypedColumnarTable,IUnnamedColumnarTable,IWritableByteRecordBlock,IWritableIntegerArrayDictionary,IWritableRecordBlock<RecordT>,IWritableTable
- All Known Implementing Classes:
AColumnStore,ADatabaseRetrievalResult,AFixedLengthIntegerArrayDictionary,AggregateStore,AppendOnlyByteRecordBlock,ARecordBlock,ArrowRecordBlock,AWritableFixedSizeRecordBlock,BucketedIntegerArrayDictionary,ChunkArray,ChunkSet,ChunkSetRecordBlock,ColumnarIntegerArrayDictionary,ColumnWrappingPointList,DatabaseRetrievalResult,DummyRecordBlock,EmptyAggregateStore,EmptyDatabaseRetrievalResult,ExpandedAggregatesRetrievalResult,FilteredAggregateStoreView,FilteredPointList,FilteredRecordBlock,FixedLengthIntegerArrayDictionary,IntegerArrayDictionary,IntegerArrayDictionaryWithHash,IntegerArrayList,IntegerArrayPermutationDictionary,MultiColumnarTableWrapper,OffsetRecordBlock,PointListRetrievalResult,PointReferenceDictionary,RecordBlock,RecordBlockMeasureStore,ReplicatedAggregateStore,SingleRowDelegateRecordBlock,SingleRowWritableRecordBlock,SparseChunkSet,TranslatedIntegerArrayDictionary
public interface ITableData elements organized in a table layout.Depending of the storage implementation, it may be more efficient to read cells column by column or row by row.
- Author:
- ActiveViam
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisNull(int row, int column)Returns whether the value stored at the given row and column isnullor not.Objectread(int row, int column)Reads the Object value stored in the table at the intersection of the given row and column.booleanreadBoolean(int row, int column)Reads the boolean primitive value stored in the table at the intersection of the given row and column.doublereadDouble(int row, int column)Reads the double primitive value stored in the table at the intersection of the given row and column.floatreadFloat(int row, int column)Reads the float primitive value stored in the table at the intersection of the given row and column.intreadInt(int row, int column)Reads the int primitive value stored in the table at the intersection of the given row and column.longreadLong(int row, int column)Reads the long primitive value stored in the table at the intersection of the given row and column.
-
-
-
Method Detail
-
isNull
boolean isNull(int row, int column)Returns whether the value stored at the given row and column isnullor not. Before reading primitive values, when it is not certain that the data is notnull, this method must be called first to check nullity.- Parameters:
row- index of the row to checkcolumn- index of the column to check- Returns:
trueif the column value isnull,falseotherwise
-
read
Object read(int row, int column)
Reads the Object value stored in the table at the intersection of the given row and column.- Parameters:
row- index of the row to readcolumn- index of the column to read- Returns:
- Object value
-
readBoolean
boolean readBoolean(int row, int column)Reads the boolean primitive value stored in the table at the intersection of the given row and column.- Parameters:
row- index of the row to readcolumn- index of the column to read- Returns:
- boolean value
-
readInt
int readInt(int row, int column)Reads the int primitive value stored in the table at the intersection of the given row and column.- Parameters:
row- index of the row to readcolumn- index of the column to read- Returns:
- int value
-
readLong
long readLong(int row, int column)Reads the long primitive value stored in the table at the intersection of the given row and column.- Parameters:
row- index of the row to readcolumn- index of the column to read- Returns:
- long value
-
readDouble
double readDouble(int row, int column)Reads the double primitive value stored in the table at the intersection of the given row and column.- Parameters:
row- index of the row to readcolumn- index of the column to read- Returns:
- double value
-
readFloat
float readFloat(int row, int column)Reads the float primitive value stored in the table at the intersection of the given row and column.- Parameters:
row- index of the row to readcolumn- index of the column to read- Returns:
- float value
-
-