| Modifier and Type | Field and Description |
|---|---|
| public static final String | ALIAS
The PostgreSQL alias for the range table. |
| private final RangeIndex | |
| private Expression | |
| private Expression | |
| public static final String | NAME
The name of the range table. |
| private boolean | |
| private Expression |
| Access | Constructor and Description |
|---|---|
| public | RangeTable(Schema
the schema (always the main schema) schema, Expression the start expression min, Expression the end expression max)Create a new range with the given start and end expressions. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canGetRowCount(SessionLocal
the session session)Implements abstract org. Check if the row count can be retrieved quickly. |
| public ArrayList | |
| public long | Returns: the end valuethe session session)Calculate and get the end value of this range. |
| public long | getMaxDataModificationId()
Implements abstract org. Get the last data modification id. |
| public long | Returns: the start valuethe session session)Calculate and get the start value of this range. |
| 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 Index | getScanIndex(SessionLocal
the session session)Implements abstract org. Get the scan index to iterate through all rows. |
| 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 long | |
| public TableType | |
| public boolean | isDeterministic()
Implements abstract org. Check if the table is deterministic. |
| private void |
| ALIAS | back to summary |
|---|---|
| public static final String ALIAS The PostgreSQL alias for the range table. | |
| index | back to summary |
|---|---|
| private final RangeIndex index | |
| max | back to summary |
|---|---|
| private Expression max | |
| min | back to summary |
|---|---|
| private Expression min | |
| NAME | back to summary |
|---|---|
| public static final String NAME The name of the range table. | |
| optimized | back to summary |
|---|---|
| private boolean optimized | |
| step | back to summary |
|---|---|
| private Expression step | |
| RangeTable | back to summary |
|---|---|
| public RangeTable(Schema schema, Expression min, Expression max) Create a new range with the given start and end expressions.
| |
| RangeTable | back to summary |
|---|---|
| public RangeTable(Schema schema, Expression min, Expression max, Expression step) | |
| canGetRowCount | back to summary |
|---|---|
| public boolean canGetRowCount(SessionLocal session) Implements abstract org. Doc from org. Check if the row count can be retrieved quickly.
| |
| getIndexes | back to summary |
|---|---|
| public ArrayList Overrides org. Doc from org. Get all indexes for this table. | |
| getMax | back to summary |
|---|---|
| public long getMax(SessionLocal session) Calculate and get the end value of this range.
| |
| getMaxDataModificationId | back to summary |
|---|---|
| public long getMaxDataModificationId() Implements abstract org. Doc from org. Get the last data modification id.
| |
| getMin | back to summary |
|---|---|
| public long getMin(SessionLocal session) Calculate and get the start value of this range.
| |
| 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 Index getScanIndex(SessionLocal session) Implements abstract org. Doc from org. Get the scan index to iterate through all rows.
| |
| 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.
| |
| getStep | back to summary |
|---|---|
| public long getStep(SessionLocal session) Get the increment.
| |
| getTableType | back to summary |
|---|---|
| public TableType getTableType() Overrides org. Doc from org. Get the table type name | |
| isDeterministic | back to summary |
|---|---|
| public boolean isDeterministic() Implements abstract org. Doc from org. Check if the table is deterministic.
| |
| optimize | back to summary |
|---|---|
| private void optimize(SessionLocal s) | |