COLUMN_IMPL_TYPE
- A bound on the implementation class for this table's appendable columnspublic interface AppendableTable<COLUMN_IMPL_TYPE extends AppendableColumn>
Modifier and Type | Method and Description |
---|---|
default void |
addRecords(Object[] columnData,
int startIndex,
int length)
Optional method to allow one or more data rows to be appended.
|
void |
close()
Optional method to flush all data and metadata before closing underlying resources (if applicable).
|
void |
flush()
Optional method to flush data to this table's persistent storage (if applicable).
|
COLUMN_IMPL_TYPE |
getColumn(String columnName)
Get a column for this table by name.
|
Map<String,COLUMN_IMPL_TYPE> |
getColumnMap() |
COLUMN_IMPL_TYPE[] |
getColumns() |
TableDefinition |
getDefinition() |
long |
size() |
void |
updateSize(long size)
Set the size of this appendable table in rows.
|
TableDefinition getDefinition()
COLUMN_IMPL_TYPE getColumn(String columnName)
columnName
- The column nameCOLUMN_IMPL_TYPE[] getColumns()
Map<String,COLUMN_IMPL_TYPE> getColumnMap()
long size()
void updateSize(long size)
AppendableTable.flush()
method.size
- The new sizedefault void addRecords(@NotNull Object[] columnData, int startIndex, int length)
columnData
- Array of arrays (lengths *must* be identical) to append,
one member per non-virtual column, in table definition orderstartIndex
- Index within the arrays to start fromlength
- Number of rows to appendvoid flush()
void close()