MVPrimaryIndex
A table stored in a MVStore.
| 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)
|
| Cursor |
find(Session session, SearchRow first, SearchRow last)
|
| Cursor |
find(Session session, SearchRow first, SearchRow last)
|
| Cursor |
find(Session session, ValueLong first, ValueLong last)
Search for a specific row or a set of rows.
|
| Cursor |
find(Session session, ValueLong first, ValueLong last)
Search for a specific row or a set of rows.
Parameters:
session - the session
first - the key of the first row
last - the key of the last row
Returns:
the cursor
|
| 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()
|
| long |
getDiskSpaceUsed()
|
| long |
getDiskSpaceUsed()
|
| ValueLong |
getKey(SearchRow row, ValueLong ifEmpty, ValueLong ifNull)
Get the key from the row.
|
| ValueLong |
getKey(SearchRow row, ValueLong ifEmpty, ValueLong ifNull)
Get the key from the row.
Parameters:
row - the row
ifEmpty - the value to use if the row is empty
ifNull - the value to use if the column is NULL
Returns:
the key
|
| int |
getMainIndexColumn()
|
| int |
getMainIndexColumn()
|
| TransactionStore.TransactionMap |
getMap(Session session)
Get the map to store the data.
|
| TransactionStore.TransactionMap |
getMap(Session session)
Get the map to store the data.
Parameters:
session - the session
Returns:
the map
|
| String |
getMapName()
|
| String |
getMapName()
|
| 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()
|
| long |
getRowCountMax()
The maximum number of rows, including uncommitted rows of any session.
|
| long |
getRowCountMax()
The maximum number of rows, including uncommitted rows of any session.
Returns:
the maximum number of rows
|
| MVTable |
getTable()
|
| MVTable |
getTable()
|
| boolean |
isFirstColumn(Column column)
|
| boolean |
isFirstColumn(Column column)
|
| boolean |
isRowIdIndex()
|
| boolean |
isRowIdIndex()
|
| boolean |
needRebuild()
|
| boolean |
needRebuild()
|
| void |
remove(Session session, Row row)
|
| void |
remove(Session session, Row row)
|
| void |
remove(Session session)
|
| void |
remove(Session session)
|
| void |
setMainIndexColumn(int mainIndexColumn)
|
| void |
setMainIndexColumn(int mainIndexColumn)
|
| void |
truncate(Session session)
|
| void |
truncate(Session session)
|
|