| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ArrayList | |
| pack-priv Query | |
| pack-priv final String | |
| pack-priv final QueryExpressionTable |
| Access | Constructor and Description |
|---|---|
| pack-priv | QueryExpressionIndex(QueryExpressionTable table, String querySQL, ArrayList<Parameter> originalParameters)
|
| 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 String | getPlanSQL()
Overrides org. Get the message to show in a EXPLAIN statement. |
| public Query | |
| 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 abstract boolean | |
| 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. |
| originalParameters | back to summary |
|---|---|
| pack-priv final ArrayList<Parameter> originalParameters | |
| query | back to summary |
|---|---|
| pack-priv Query query | |
| querySQL | back to summary |
|---|---|
| pack-priv final String querySQL | |
| table | back to summary |
|---|---|
| pack-priv final QueryExpressionTable table Hides org. | |
| QueryExpressionIndex | back to summary |
|---|---|
| pack-priv QueryExpressionIndex(QueryExpressionTable table, String querySQL, ArrayList<Parameter> originalParameters) | |
| 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.
| |
| getPlanSQL | back to summary |
|---|---|
| public String getPlanSQL() Overrides org. Doc from org. Get the message to show in a EXPLAIN statement. | |
| getQuery | back to summary |
|---|---|
| public Query getQuery() | |
| 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.
| |
| isExpired | back to summary |
|---|---|
| public abstract boolean isExpired() | |
| 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.
| |