RangeTable
The table SYSTEM_RANGE is a virtual table that generates incrementing numbers
with a given start end end point.
| Methods |
|
RangeTable(Schema schema, Expression min, Expression max, boolean noColumns)
Create a new range with the given start and end expressions.
|
|
RangeTable(Schema schema, Expression min, Expression max, boolean noColumns)
Create a new range with the given start and end expressions.
Parameters:
schema - the schema (always the main schema)
min - the start expression
max - the end expression
noColumns - whether this table has no columns
|
| Index |
addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
|
| Index |
addIndex(Session session, String indexName, int indexId, IndexColumn[] cols, IndexType indexType, boolean create, String indexComment)
|
| void |
addRow(Session session, Row row)
|
| void |
addRow(Session session, Row row)
|
| boolean |
canDrop()
|
| boolean |
canDrop()
|
| boolean |
canGetRowCount()
|
| boolean |
canGetRowCount()
|
| boolean |
canReference()
|
| boolean |
canReference()
|
| void |
checkRename()
|
| void |
checkRename()
|
| void |
checkSupportAlter()
|
| void |
checkSupportAlter()
|
| void |
close(Session session)
|
| void |
close(Session session)
|
| String |
getCreateSQL()
|
| String |
getCreateSQL()
|
| long |
getDiskSpaceUsed()
|
| long |
getDiskSpaceUsed()
|
| String |
getDropSQL()
|
| String |
getDropSQL()
|
| ArrayList |
getIndexes()
|
| ArrayList |
getIndexes()
|
| long |
getMax(Session session)
Calculate and get the end value of this range.
|
| long |
getMax(Session session)
Calculate and get the end value of this range.
Parameters:
session - the session
Returns:
the end value
|
| long |
getMaxDataModificationId()
|
| long |
getMaxDataModificationId()
|
| long |
getMin(Session session)
Calculate and get the start value of this range.
|
| long |
getMin(Session session)
Calculate and get the start value of this range.
Parameters:
session - the session
Returns:
the start value
|
| long |
getRowCount(Session session)
|
| long |
getRowCount(Session session)
|
| long |
getRowCountApproximation()
|
| long |
getRowCountApproximation()
|
| String |
getSQL()
|
| String |
getSQL()
|
| Index |
getScanIndex(Session session)
|
| Index |
getScanIndex(Session session)
|
| long |
getStep(Session session)
Get the increment.
|
| long |
getStep(Session session)
Get the increment.
Parameters:
session - the session
Returns:
the increment (1 by default)
|
| TableType |
getTableType()
|
| TableType |
getTableType()
|
| Index |
getUniqueIndex()
|
| Index |
getUniqueIndex()
|
| boolean |
isDeterministic()
|
| boolean |
isDeterministic()
|
| boolean |
isLockedExclusively()
|
| boolean |
isLockedExclusively()
|
| boolean |
lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
|
| boolean |
lock(Session session, boolean exclusive, boolean forceLockEvenInMvcc)
|
| void |
removeRow(Session session, Row row)
|
| void |
removeRow(Session session, Row row)
|
| void |
truncate(Session session)
|
| void |
truncate(Session session)
|
| void |
unlock(Session s)
|
| void |
unlock(Session s)
|
| Fields |
| static String |
ALIAS = "GENERATE_SERIES"
|
| static String |
NAME = "SYSTEM_RANGE"
|
ALIAS
= "GENERATE_SERIES"
The PostgreSQL alias for the range table.
NAME
= "SYSTEM_RANGE"
The name of the range table.
|