ScanIndex
The scan index is not really an 'index' in the strict sense, because it can
not be used for direct lookup. It can only be used to iterate over all rows
of a table. Each regular table has one such object, even if no primary key or
indexes are defined.
| Methods |
| void |
add(Session session, Row row)
|
| void |
add(Session session, Row row)
|
| boolean |
canGetFirstOrLast()
|
| boolean |
canGetFirstOrLast()
|
| void |
checkRename()
|
| void |
checkRename()
|
| void |
close(Session session)
|
| void |
close(Session session)
|
| void |
commit(int operation, Row row)
|
| void |
commit(int operation, Row row)
|
| Cursor |
find(Session session, SearchRow first, SearchRow last)
|
| Cursor |
find(Session session, SearchRow first, SearchRow last)
|
| Cursor |
findFirstOrLast(Session session, boolean first)
|
| Cursor |
findFirstOrLast(Session session, boolean first)
|
| int |
getColumnIndex(Column col)
|
| int |
getColumnIndex(Column col)
|
| double |
getCost(Session session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, HashSet allColumnsSet)
|
| double |
getCost(Session session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, HashSet allColumnsSet)
|
| String |
getCreateSQL()
|
| String |
getCreateSQL()
|
| Iterator |
getDelta()
|
| Iterator |
getDelta()
|
| long |
getDiskSpaceUsed()
|
| long |
getDiskSpaceUsed()
|
| Row |
getNextRow(Row row)
Get the next row that is stored after this row.
|
| Row |
getNextRow(Row row)
Get the next row that is stored after this row.
Parameters:
row - the current row or null to start the scan
Returns:
the next row or null if there are no more rows
|
| String |
getPlanSQL()
|
| String |
getPlanSQL()
|
| Row |
getRow(Session session, long key)
|
| Row |
getRow(Session session, long key)
|
| long |
getRowCount(Session session)
|
| long |
getRowCount(Session session)
|
| long |
getRowCountApproximation()
|
| long |
getRowCountApproximation()
|
| boolean |
isFirstColumn(Column column)
|
| boolean |
isFirstColumn(Column column)
|
| boolean |
needRebuild()
|
| boolean |
needRebuild()
|
| void |
remove(Session session)
|
| void |
remove(Session session)
|
| void |
remove(Session session, Row row)
|
| void |
remove(Session session, Row row)
|
| void |
truncate(Session session)
|
| void |
truncate(Session session)
|
|