| Modifier and Type | Field and Description |
|---|---|
| protected int | indexColumn
The indexed column. |
| protected MetaIndex | metaIndex
The index for this table. |
| public static final long | ROW_COUNT_APPROXIMATION
The approximate number of rows of a meta table. |
| protected final int | type
The table type. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | add(SessionLocal
the session session, ArrayList<Row> the original row list rows, Object... the values, or strings stringsOrValues)Add a row to a list. |
| public final Index | addIndex(SessionLocal
the session session, String the name of the index indexName, int the id indexId, IndexColumn[] the index columns cols, int the count of unique columns uniqueColumnCount, IndexType the index type indexType, boolean whether this is a new index create, String the comment indexComment)Implements abstract org. Create an index for this table |
| public final void | addRow(SessionLocal
the session session, Row the row row)Implements abstract org. Add a row to the table and all indexes. |
| public final boolean | |
| public boolean | canGetRowCount(SessionLocal
the session session)Implements abstract org. Check if the row count can be retrieved quickly. |
| public final boolean | |
| protected final boolean | Returns: whether row should be included into resultthe session session, String the value value, Value the lower bound of value, or indexFrom, Value nullthe higher bound of value, or indexTo)nullChecks index conditions. |
| public final void | |
| public final void | checkSupportAlter()
Implements abstract org. Check if this table supports ALTER TABLE. |
| public final void | close(SessionLocal
the session session)Implements abstract org. Close the table object and flush changes. |
| pack-priv final Column | |
| protected final Column | |
| public abstract ArrayList | Returns: the generated rowsthe session session, SearchRow the first row to return first, SearchRow the last row to return last)Generate the data for the given metadata table using the given first and last row filters. |
| protected final Stream | Returns: the stream of constraintsthe session session)Get all constraints of this database, including constraints of local temporary tables for the session. |
| protected final Stream | Returns: the stream of tablesthe session session, Value first value or indexFrom, Value nulllast value or indexTo)nullGet all tables of this database, including local temporary tables for the session. |
| public final String | |
| public final ArrayList | |
| public long | getRowCount(SessionLocal
the session session)Implements abstract org. Get the row count for this table. |
| public long | getRowCountApproximation(SessionLocal
the session session)Implements abstract org. Get the approximated row count for this table. |
| public final Index | getScanIndex(SessionLocal
the session session)Implements abstract org. Get the scan index to iterate through all rows. |
| public final TableType | |
| protected final String | Returns: the converted identifierthe identifier to convert s)If needed, convert the identifier to lower case. |
| public final boolean | isDeterministic()
Implements abstract org. Check if the table is deterministic. |
| public boolean | |
| public final void | removeChildrenAndResources(SessionLocal
the session session)Overrides org. Delete all dependent children objects and resources of this object. |
| public final void | removeRow(SessionLocal
the session session, Row the row row)Implements abstract org. Remove a row from the table and all indexes. |
| protected final void | |
| public final long | truncate(SessionLocal
the session session)Implements abstract org. Remove all rows from the table and indexes. |
| indexColumn | back to summary |
|---|---|
| protected int indexColumn The indexed column. | |
| metaIndex | back to summary |
|---|---|
| protected MetaIndex metaIndex The index for this table. | |
| ROW_COUNT_APPROXIMATION | back to summary |
|---|---|
| public static final long ROW_COUNT_APPROXIMATION The approximate number of rows of a meta table. | |
| type | back to summary |
|---|---|
| protected final int type The table type. | |
| MetaTable | back to summary |
|---|---|
| protected MetaTable(Schema schema, int id, int type) Create a new metadata table.
| |
| add | back to summary |
|---|---|
| protected final void add(SessionLocal session, ArrayList<Row> rows, Object... stringsOrValues) Add a row to a list.
| |
| addIndex | back to summary |
|---|---|
| public final Index addIndex(SessionLocal session, String indexName, int indexId, IndexColumn[] cols, int uniqueColumnCount, IndexType indexType, boolean create, String indexComment) Implements abstract org. Doc from org. Create an index for this table
| |
| addRow | back to summary |
|---|---|
| public final void addRow(SessionLocal session, Row row) Implements abstract org. Doc from org. Add a row to the table and all indexes.
| |
| canDrop | back to summary |
|---|---|
| public final boolean canDrop() Implements abstract org. Doc from org. Check if this table can be dropped.
| |
| canGetRowCount | back to summary |
|---|---|
| public boolean canGetRowCount(SessionLocal session) Implements abstract org. Doc from org. Check if the row count can be retrieved quickly.
| |
| canReference | back to summary |
|---|---|
| public final boolean canReference() Overrides org. Doc from org. Check if this table can be referenced.
| |
| checkIndex | back to summary |
|---|---|
| protected final boolean checkIndex(SessionLocal session, String value, Value indexFrom, Value indexTo) Checks index conditions.
| |
| checkRename | back to summary |
|---|---|
| public final void checkRename() Overrides org. Doc from org. Check if renaming is allowed. Does nothing when allowed.
| |
| checkSupportAlter | back to summary |
|---|---|
| public final void checkSupportAlter() Implements abstract org. Doc from org. Check if this table supports ALTER TABLE.
| |
| close | back to summary |
|---|---|
| public final void close(SessionLocal session) Implements abstract org. Doc from org. Close the table object and flush changes.
| |
| column | back to summary |
|---|---|
| pack-priv final Column column(String name) Creates a column with the specified name and character string data type. | |
| column | back to summary |
|---|---|
| protected final Column column(String name, TypeInfo type) Creates a column with the specified name and data type. | |
| generateRows | back to summary |
|---|---|
| public abstract ArrayList Generate the data for the given metadata table using the given first and last row filters.
| |
| getAllConstraints | back to summary |
|---|---|
| protected final Stream Get all constraints of this database, including constraints of local temporary tables for the session.
| |
| getAllTables | back to summary |
|---|---|
| protected final Stream Get all tables of this database, including local temporary tables for the session.
| |
| getCreateSQL | back to summary |
|---|---|
| public final String getCreateSQL() Implements abstract org. Doc from org. Construct the CREATE ... SQL statement for this object. | |
| getIndexes | back to summary |
|---|---|
| public final ArrayList Implements abstract org. Doc from org. Get all indexes for this table. | |
| getRowCount | back to summary |
|---|---|
| public long getRowCount(SessionLocal session) Implements abstract org. Doc from org. Get the row count for this table.
| |
| getRowCountApproximation | back to summary |
|---|---|
| public long getRowCountApproximation(SessionLocal session) Implements abstract org. Doc from org. Get the approximated row count for this table.
| |
| getScanIndex | back to summary |
|---|---|
| public final Index getScanIndex(SessionLocal session) Implements abstract org. Doc from org. Get the scan index to iterate through all rows.
| |
| getTableType | back to summary |
|---|---|
| public final TableType getTableType() Implements abstract org. Doc from org. Get the table type name | |
| identifier | back to summary |
|---|---|
| protected final String identifier(String s) If needed, convert the identifier to lower case. | |
| isDeterministic | back to summary |
|---|---|
| public final boolean isDeterministic() Implements abstract org. Doc from org. Check if the table is deterministic.
| |
| isInsertable | back to summary |
|---|---|
| public boolean isInsertable() Overrides org. Doc from org. Returns whether this table is insertable.
| |
| removeChildrenAndResources | back to summary |
|---|---|
| public final void removeChildrenAndResources(SessionLocal session) Overrides org. Doc from org. Delete all dependent children objects and resources of this object.
| |
| removeRow | back to summary |
|---|---|
| public final void removeRow(SessionLocal session, Row row) Implements abstract org. Doc from org. Remove a row from the table and all indexes.
| |
| setMetaTableName | back to summary |
|---|---|
| protected final void setMetaTableName(String upperName) | |
| truncate | back to summary |
|---|---|
| public final long truncate(SessionLocal session) Implements abstract org. Doc from org. Remove all rows from the table and indexes.
| |