| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public 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 void | addRow(SessionLocal
the session session, Row the row row)Implements abstract org. Add a row to the table and all indexes. |
| public boolean | |
| public boolean | |
| public void | |
| public void | checkSupportAlter()
Implements abstract org. Check if this table supports ALTER TABLE. |
| public void | close(SessionLocal
the session session)Implements abstract org. Close the table object and flush changes. |
| public String | |
| public ArrayList | |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Overrides org. Implements org. Appends the SQL statement of this object to the specified builder. |
| public TableType | |
| public boolean | |
| public void | removeRow(SessionLocal
the session session, Row the row row)Implements abstract org. Remove a row from the table and all indexes. |
| public long | truncate(SessionLocal
the session session)Implements abstract org. Remove all rows from the table and indexes. |
| VirtualTable | back to summary |
|---|---|
| protected VirtualTable(Schema schema, int id, String name) | |
| addIndex | back to summary |
|---|---|
| public 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 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 boolean canDrop() Implements abstract org. Doc from org. Check if this table can be dropped.
| |
| canReference | back to summary |
|---|---|
| public boolean canReference() Overrides org. Doc from org. Check if this table can be referenced.
| |
| checkRename | back to summary |
|---|---|
| public void checkRename() Overrides org. Doc from org. Check if renaming is allowed. Does nothing when allowed.
| |
| checkSupportAlter | back to summary |
|---|---|
| public void checkSupportAlter() Implements abstract org. Doc from org. Check if this table supports ALTER TABLE.
| |
| close | back to summary |
|---|---|
| public void close(SessionLocal session) Implements abstract org. Doc from org. Close the table object and flush changes.
| |
| getCreateSQL | back to summary |
|---|---|
| public String getCreateSQL() Implements abstract org. Doc from org. Construct the CREATE ... SQL statement for this object. | |
| getIndexes | back to summary |
|---|---|
| public ArrayList Implements abstract org. Doc from org. Get all indexes for this table. | |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Overrides org. Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getTableType | back to summary |
|---|---|
| public TableType getTableType() Implements abstract org. Doc from org. Get the table type name | |
| isInsertable | back to summary |
|---|---|
| public boolean isInsertable() Overrides org. Doc from org. Returns whether this table is insertable.
| |
| removeRow | back to summary |
|---|---|
| public void removeRow(SessionLocal session, Row row) Implements abstract org. Doc from org. Remove a row from the table and all indexes.
| |
| truncate | back to summary |
|---|---|
| public long truncate(SessionLocal session) Implements abstract org. Doc from org. Remove all rows from the table and indexes.
| |