| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(SessionLocal
the session to use session, Row the row to add row)Implements abstract org. Add a row to the index. |
| public void | |
| public void | close(SessionLocal
the session used to write data session)Implements abstract org. Close this index. |
| public long | getRowCount(SessionLocal
the session session)Implements abstract org. Get the row count of this table, for the given session. |
| public long | getRowCountApproximation(SessionLocal
the session session)Implements abstract org. Get the approximated row count for this table. |
| public boolean | needRebuild()
Implements abstract org. Check if the index needs to be rebuilt. |
| public void | remove(SessionLocal
the session session, Row the row row)Implements abstract org. Remove a row from the index. |
| public void | remove(SessionLocal
the session session)Implements abstract org. Remove the index. |
| public void | truncate(SessionLocal
the session session)Implements abstract org. Remove all rows from the index. |
| VirtualTableIndex | back to summary |
|---|---|
| protected VirtualTableIndex(VirtualTable table, String name, IndexColumn[] columns) | |
| add | back to summary |
|---|---|
| public void add(SessionLocal session, Row row) Implements abstract org. Doc from org. Add a row to the index.
| |
| checkRename | back to summary |
|---|---|
| public void checkRename() Overrides org. Doc from org. Check if renaming is allowed. Does nothing when allowed.
| |
| close | back to summary |
|---|---|
| public void close(SessionLocal session) Implements abstract org. Doc from org. Close this index.
| |
| getRowCount | back to summary |
|---|---|
| public long getRowCount(SessionLocal session) Implements abstract org. Doc from org. Get the row count of this table, for the given session.
| |
| getRowCountApproximation | back to summary |
|---|---|
| public long getRowCountApproximation(SessionLocal session) Implements abstract org. Doc from org. Get the approximated row count for this table.
| |
| needRebuild | back to summary |
|---|---|
| public boolean needRebuild() Implements abstract org. Doc from org. Check if the index needs to be rebuilt. This method is called after opening an index.
| |
| remove | back to summary |
|---|---|
| public void remove(SessionLocal session, Row row) Implements abstract org. Doc from org. Remove a row from the index.
| |
| remove | back to summary |
|---|---|
| public void remove(SessionLocal session) Implements abstract org. Doc from org. Remove the index.
| |
| truncate | back to summary |
|---|---|
| public void truncate(SessionLocal session) Implements abstract org. Doc from org. Remove all rows from the index.
| |