ViewIndex
This object represents a virtual index for a query.
Actually it only represents a prepared SELECT statement.
| Methods |
|
ViewIndex(TableView view, String querySQL, ArrayList originalParameters, boolean recursive)
Constructor for the original index in
|
|
ViewIndex(TableView view, String querySQL, ArrayList originalParameters, boolean recursive)
Constructor for the original index in {@link TableView}.
Parameters:
view - the table view
querySQL - the query SQL
originalParameters - the original parameters
recursive - if the view is recursive
|
|
ViewIndex(TableView view, ViewIndex index, Session session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder)
Constructor for plan item generation.
|
|
ViewIndex(TableView view, ViewIndex index, Session session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder)
Constructor for plan item generation. Over this index the query will be
executed.
Parameters:
view - the table view
index - the view index
session - the session
masks - the masks
filters - table filters
filter - current filter
sortOrder - sort order
|
| 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)
|
| IndexLookupBatch |
createLookupBatch(TableFilter[] filters, int filter)
|
| IndexLookupBatch |
createLookupBatch(TableFilter[] filters, int filter)
|
| Cursor |
find(Session session, SearchRow first, SearchRow last)
|
| Cursor |
find(Session session, SearchRow first, SearchRow last)
|
| Cursor |
findByGeometry(TableFilter filter, SearchRow first, SearchRow last, SearchRow intersection)
|
| Cursor |
findByGeometry(TableFilter filter, SearchRow first, SearchRow last, SearchRow intersection)
|
| Cursor |
findFirstOrLast(Session session, boolean first)
|
| Cursor |
findFirstOrLast(Session session, boolean first)
|
| 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)
|
| long |
getDiskSpaceUsed()
|
| long |
getDiskSpaceUsed()
|
| String |
getPlanSQL()
|
| String |
getPlanSQL()
|
| Query |
getQuery()
|
| Query |
getQuery()
|
| long |
getRowCount(Session session)
|
| long |
getRowCount(Session session)
|
| long |
getRowCountApproximation()
|
| long |
getRowCountApproximation()
|
| Session |
getSession()
|
| Session |
getSession()
|
| boolean |
isExpired()
|
| boolean |
isExpired()
|
| boolean |
isRecursive()
|
| boolean |
isRecursive()
|
| 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 |
setRecursive(boolean value)
|
| void |
setRecursive(boolean value)
|
| void |
setupQueryParameters(Session session, SearchRow first, SearchRow last, SearchRow intersection)
Set the query parameters.
|
| void |
setupQueryParameters(Session session, SearchRow first, SearchRow last, SearchRow intersection)
Set the query parameters.
Parameters:
session - the session
first - the lower bound
last - the upper bound
intersection - the intersection
|
| void |
truncate(Session session)
|
| void |
truncate(Session session)
|
|