| Modifier and Type | Field and Description |
|---|---|
| private final long | evaluatedAt
The time in nanoseconds when this index (and its cost) was calculated. |
| private final int[] |
| Access | Constructor and Description |
|---|---|
| public | RegularQueryExpressionIndex(QueryExpressionTable
the query expression table table, String the query SQL querySQL, ArrayList<Parameter> the original parameters originalParameters, SessionLocal the session session, int[] the masks masks)Creates a new instance of a regular query expression index. |
| Modifier and Type | Method and Description |
|---|---|
| private Query | addConditions(QueryExpressionTable table, String querySQL, ArrayList<Parameter> originalParameters, SessionLocal session, int[] masks, Query q)
|
| public Cursor | find(SessionLocal
the session session, SearchRow the first row, or null for no limit first, SearchRow the last row, or null for no limit last, boolean if true, iterate in reverse (descending) order reverse)Implements abstract org. Find a row or a list of rows and create a cursor to iterate over the result. |
| private Cursor | |
| public Cursor | findByGeometry(SessionLocal
the session session, SearchRow the lower bound first, SearchRow the upper bound last, boolean if true, iterate in reverse (descending) order reverse, SearchRow the geometry which values should intersect with, or
null for anything intersection)Implements org. Find a row or a list of rows and create a cursor to iterate over the result. |
| public double | getCost(SessionLocal
the session session, int[] per-column comparison bit masks, null means 'always false',
see constants in IndexCondition masks, TableFilter[] all joined table filters filters, int the current table filter index filter, SortOrder the sort order sortOrder, AllColumnsForPlan the set of all columns allColumnsSet)Implements abstract org. Estimate the cost to search for rows given the search mask. |
| public boolean | |
| private static void |
| evaluatedAt | back to summary |
|---|---|
| private final long evaluatedAt The time in nanoseconds when this index (and its cost) was calculated. | |
| indexMasks | back to summary |
|---|---|
| private final int[] indexMasks | |
| RegularQueryExpressionIndex | back to summary |
|---|---|
| public RegularQueryExpressionIndex(QueryExpressionTable table, String querySQL, ArrayList<Parameter> originalParameters, SessionLocal session, int[] masks) Creates a new instance of a regular query expression index.
| |
| addConditions | back to summary |
|---|---|
| private Query addConditions(QueryExpressionTable table, String querySQL, ArrayList<Parameter> originalParameters, SessionLocal session, int[] masks, Query q) | |
| find | back to summary |
|---|---|
| public Cursor find(SessionLocal session, SearchRow first, SearchRow last, boolean reverse) Implements abstract org. Doc from org. Find a row or a list of rows and create a cursor to iterate over the result.
| |
| find | back to summary |
|---|---|
| private Cursor find(SessionLocal session, SearchRow first, SearchRow last, SearchRow intersection) | |
| findByGeometry | back to summary |
|---|---|
| public Cursor findByGeometry(SessionLocal session, SearchRow first, SearchRow last, boolean reverse, SearchRow intersection) Implements org. Doc from org. Find a row or a list of rows and create a cursor to iterate over the result.
| |
| getCost | back to summary |
|---|---|
| public double getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) Implements abstract org. Doc from org. Estimate the cost to search for rows given the search mask. There is one element per column in the search mask. For possible search masks, see IndexCondition.
| |
| isExpired | back to summary |
|---|---|
| public boolean isExpired() Implements abstract org.
| |
| setParameter | back to summary |
|---|---|
| private static void setParameter(ArrayList<Parameter> paramList, int x, Value v) | |