Uses of Class
org.h2.table.TableFilter
-
Packages that use TableFilter Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.constraint Database constraints such as check constraints, unique constraints, and referential constraints.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.expression.aggregate Aggregate functions.org.h2.expression.analysis Base classes for data analysis operations and implementations of window functions.org.h2.expression.condition Condition expressions.org.h2.expression.function Functions.org.h2.index Various table index implementations, as well as cursors to navigate in an index.org.h2.mvstore.db Helper classes to use the MVStore in the H2 database.org.h2.result Implementation of row and internal result sets.org.h2.table Classes related to a table and table meta data. -
-
Uses of TableFilter in org.h2.command
Methods in org.h2.command that return TableFilter Modifier and Type Method Description private TableFilterParser. buildTableFilter(Table table, java.lang.String alias, java.util.ArrayList<java.lang.String> derivedColumnNames, IndexHints indexHints)private TableFilterParser. readCorrelation(TableFilter tableFilter)private TableFilterParser. readDerivedTableWithCorrelation()private TableFilterParser. readSimpleTableFilter()private TableFilterParser. readTablePrimary()private TableFilterParser. readTableReference()Methods in org.h2.command with parameters of type TableFilter Modifier and Type Method Description private voidParser. addJoin(TableFilter top, TableFilter join, boolean outer, Expression on)Add one join to another.private ExpressionParser. addJoinColumn(Expression on, TableFilter filter1, TableFilter filter2, Column column1, Column column2, boolean rightJoin)private PreparedParser. parseMergeInto(TableFilter targetTableFilter, int start)private MergeUsingParser. parseMergeUsing(TableFilter targetTableFilter, int start)private TableFilterParser. readCorrelation(TableFilter tableFilter)private ExpressionParser. readJoinSpecification(TableFilter filter1, TableFilter filter2, boolean rightJoin)private ColumnParser. readTableColumn(TableFilter filter)private java.lang.StringParser. readTableColumn(TableFilter filter, java.lang.String tableAlias)private SetClauseListParser. readUpdateSetClause(TableFilter filter) -
Uses of TableFilter in org.h2.command.dml
Fields in org.h2.command.dml declared as TableFilter Modifier and Type Field Description private TableFilterUpdate. fromTableFilter(package private) TableFilterMergeUsing. sourceTableFilterSource table filter.(package private) TableFilterFilteredDataChangeStatement. targetTableFilterThe target table filter.(package private) TableFilterMergeUsing. targetTableFilterTarget table filter.Methods in org.h2.command.dml that return TableFilter Modifier and Type Method Description TableFilterMergeUsing. getSourceTableFilter()TableFilterFilteredDataChangeStatement. getTableFilter()TableFilterMergeUsing. getTargetTableFilter()Methods in org.h2.command.dml with parameters of type TableFilter Modifier and Type Method Description voidUpdate. setFromTableFilter(TableFilter tableFilter)voidMergeUsing. setSourceTableFilter(TableFilter sourceTableFilter)voidFilteredDataChangeStatement. setTableFilter(TableFilter tableFilter)voidMergeUsing. setTargetTableFilter(TableFilter targetTableFilter)Constructors in org.h2.command.dml with parameters of type TableFilter Constructor Description MergeUsing(SessionLocal session, TableFilter targetTableFilter) -
Uses of TableFilter in org.h2.command.query
Fields in org.h2.command.query declared as TableFilter Modifier and Type Field Description private TableFilter[]AllColumnsForPlan. filtersprivate TableFilter[]Optimizer. filtersprivate TableFilterOptimizer. topFilter(package private) TableFilterSelect. topTableFilterThe main (top) table filter.Fields in org.h2.command.query with type parameters of type TableFilter Modifier and Type Field Description private java.util.ArrayList<TableFilter>Select. filtersprivate java.util.ArrayList<TableFilter>Select. topFiltersMethods in org.h2.command.query that return TableFilter Modifier and Type Method Description TableFilterOptimizer. getTopFilter()TableFilterSelect. getTopTableFilter()Methods in org.h2.command.query that return types with arguments of type TableFilter Modifier and Type Method Description java.util.ArrayList<TableFilter>Select. getTopFilters()Methods in org.h2.command.query with parameters of type TableFilter Modifier and Type Method Description private intSelect. addExpandedColumn(TableFilter filter, int index, java.util.HashMap<Column,ExpressionColumn> except, java.lang.String schema, java.lang.String alias, Column c)voidSelect. addTableFilter(TableFilter filter, boolean isTop)Add a table to the query.private voidSelect. disableLazyForJoinSubqueries(TableFilter top)private intSelect. expandColumnList(TableFilter filter, int index, boolean forAlias, java.util.HashMap<Column,ExpressionColumn> except)private static booleanSelect. getPlanFromFilter(java.lang.StringBuilder builder, int sqlFlags, TableFilter f, boolean isJoin)private booleanSelect. isGroupSortedIndex(TableFilter tableFilter, Index index)abstract voidQuery. setEvaluatable(TableFilter tableFilter, boolean b)Change the evaluatable flag.voidSelect. setEvaluatable(TableFilter tableFilter, boolean b)voidSelectUnion. setEvaluatable(TableFilter tableFilter, boolean b)voidTableValueConstructor. setEvaluatable(TableFilter tableFilter, boolean b)private voidSelect. setEvaluatableRecursive(TableFilter f)private voidOptimizer. shuffleAll(TableFilter[] f)private booleanOptimizer. shuffleTwo(TableFilter[] f)private booleanOptimizer. testPlan(TableFilter[] list)Constructors in org.h2.command.query with parameters of type TableFilter Constructor Description AllColumnsForPlan(TableFilter[] filters)Optimizer(TableFilter[] filters, Expression condition, SessionLocal session) -
Uses of TableFilter in org.h2.constraint
Fields in org.h2.constraint declared as TableFilter Modifier and Type Field Description private TableFilterConstraintCheck. filterMethods in org.h2.constraint with parameters of type TableFilter Modifier and Type Method Description voidConstraintCheck. setTableFilter(TableFilter filter) -
Uses of TableFilter in org.h2.expression
Methods in org.h2.expression that return TableFilter Modifier and Type Method Description TableFilterExpressionColumn. getTableFilter()Methods in org.h2.expression with parameters of type TableFilter Modifier and Type Method Description voidExpression. addFilterConditions(TableFilter filter)Add conditions to a table filter if they can be evaluated.static voidExpressionVisitor. allColumnsForTableFilters(TableFilter[] filters, AllColumnsForPlan allColumnsSet)Get the set of columns of all tables.voidExpression. createIndexConditions(SessionLocal session, TableFilter filter)Create index conditions if possible and attach them to the table filter.voidExpressionColumn. createIndexConditions(SessionLocal session, TableFilter filter)voidValueExpression. createIndexConditions(SessionLocal session, TableFilter filter)voidAlias. setEvaluatable(TableFilter tableFilter, boolean b)voidArrayConstructorByQuery. setEvaluatable(TableFilter tableFilter, boolean value)abstract voidExpression. setEvaluatable(TableFilter tableFilter, boolean value)Tell the expression columns whether the table filter can return values now.voidExpressionColumn. setEvaluatable(TableFilter tableFilter, boolean b)voidExpressionList. setEvaluatable(TableFilter tableFilter, boolean b)voidOperation0. setEvaluatable(TableFilter tableFilter, boolean value)voidOperation1_2. setEvaluatable(TableFilter tableFilter, boolean value)voidOperation1. setEvaluatable(TableFilter tableFilter, boolean value)voidOperation2. setEvaluatable(TableFilter tableFilter, boolean value)voidOperationN. setEvaluatable(TableFilter tableFilter, boolean value)voidSimpleCase. setEvaluatable(TableFilter tableFilter, boolean value)voidSubquery. setEvaluatable(TableFilter tableFilter, boolean b)voidWildcard. setEvaluatable(TableFilter tableFilter, boolean b) -
Uses of TableFilter in org.h2.expression.aggregate
Methods in org.h2.expression.aggregate with parameters of type TableFilter Modifier and Type Method Description voidAbstractAggregate. setEvaluatable(TableFilter tableFilter, boolean b)voidAggregate. setEvaluatable(TableFilter tableFilter, boolean b) -
Uses of TableFilter in org.h2.expression.analysis
Methods in org.h2.expression.analysis with parameters of type TableFilter Modifier and Type Method Description voidDataAnalysisOperation. setEvaluatable(TableFilter tableFilter, boolean b)voidWindow. setEvaluatable(TableFilter tableFilter, boolean value)Tell the expression columns whether the table filter can return values now.voidWindowFunction. setEvaluatable(TableFilter tableFilter, boolean b) -
Uses of TableFilter in org.h2.expression.condition
Methods in org.h2.expression.condition with parameters of type TableFilter Modifier and Type Method Description voidConditionAndOr. addFilterConditions(TableFilter filter)voidConditionAndOrN. addFilterConditions(TableFilter filter)voidConditionLocalAndGlobal. addFilterConditions(TableFilter filter)voidBetweenPredicate. createIndexConditions(SessionLocal session, TableFilter filter)voidBooleanTest. createIndexConditions(SessionLocal session, TableFilter filter)voidCompareLike. createIndexConditions(SessionLocal session, TableFilter filter)voidComparison. createIndexConditions(SessionLocal session, TableFilter filter)(package private) static voidComparison. createIndexConditions(TableFilter filter, Expression left, Expression right, int compareType)voidConditionAndOr. createIndexConditions(SessionLocal session, TableFilter filter)voidConditionAndOrN. createIndexConditions(SessionLocal session, TableFilter filter)voidConditionIn. createIndexConditions(SessionLocal session, TableFilter filter)voidConditionInConstantSet. createIndexConditions(SessionLocal session, TableFilter filter)voidConditionInParameter. createIndexConditions(SessionLocal session, TableFilter filter)voidConditionInQuery. createIndexConditions(SessionLocal session, TableFilter filter)voidConditionLocalAndGlobal. createIndexConditions(SessionLocal session, TableFilter filter)voidNullPredicate. createIndexConditions(SessionLocal session, TableFilter filter)private static voidNullPredicate. createNullIndexCondition(TableFilter filter, ExpressionColumn c)voidBetweenPredicate. setEvaluatable(TableFilter tableFilter, boolean value)voidCompareLike. setEvaluatable(TableFilter tableFilter, boolean b)voidComparison. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionAndOr. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionAndOrN. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionIn. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionInConstantSet. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionInParameter. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionInQuery. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionLocalAndGlobal. setEvaluatable(TableFilter tableFilter, boolean b)voidConditionNot. setEvaluatable(TableFilter tableFilter, boolean b)voidIsJsonPredicate. setEvaluatable(TableFilter tableFilter, boolean b)voidPredicateWithSubquery. setEvaluatable(TableFilter tableFilter, boolean value)voidSimplePredicate. setEvaluatable(TableFilter tableFilter, boolean b) -
Uses of TableFilter in org.h2.expression.function
Methods in org.h2.expression.function with parameters of type TableFilter Modifier and Type Method Description voidFunction0_1. setEvaluatable(TableFilter tableFilter, boolean value)voidJavaFunction. setEvaluatable(TableFilter tableFilter, boolean b) -
Uses of TableFilter in org.h2.index
Methods in org.h2.index with parameters of type TableFilter Modifier and Type Method Description doubleDualIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)abstract doubleIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)Estimate the cost to search for rows given the search mask.doubleLinkedIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleMetaIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleRangeIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleViewIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleVirtualConstructedTableIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)protected longIndex. getCostRangeIndex(int[] masks, long rowCount, TableFilter[] filters, int filter, SortOrder sortOrder, boolean isScanIndex, AllColumnsForPlan allColumnsSet)Calculate the cost for the given mask as if this index was a typical b-tree range index.Constructors in org.h2.index with parameters of type TableFilter Constructor Description ViewIndex(TableView view, ViewIndex index, SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder)Constructor for plan item generation. -
Uses of TableFilter in org.h2.mvstore.db
Methods in org.h2.mvstore.db with parameters of type TableFilter Modifier and Type Method Description doubleMVDelegateIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleMVPrimaryIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleMVSecondaryIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)doubleMVSpatialIndex. getCost(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet) -
Uses of TableFilter in org.h2.result
Methods in org.h2.result with parameters of type TableFilter Modifier and Type Method Description ColumnSortOrder. getColumn(int index, TableFilter filter)Get the column for the given table filter, if the sort column is for this filter. -
Uses of TableFilter in org.h2.table
Fields in org.h2.table declared as TableFilter Modifier and Type Field Description private TableFilter[]Plan. allFiltersprivate TableFilterTableFilter. commonJoinColumnsFilterprivate TableFilter[]Plan. filtersprivate TableFilterTableFilter. joinThe joined table (if there is one).private TableFilterTableFilter. nestedJoinThe nested joined table (if there is one).Fields in org.h2.table with type parameters of type TableFilter Modifier and Type Field Description static java.util.Comparator<TableFilter>TableFilter. ORDER_IN_FROM_COMPARATORComparator that uses order in FROM clause as a sort key.private java.util.HashMap<TableFilter,PlanItem>Plan. planItemsMethods in org.h2.table that return TableFilter Modifier and Type Method Description TableFilterTableFilter. getCommonJoinColumnsFilter()Returns common join columns table filter.TableFilter[]Plan. getFilters()The the list of tables.TableFilterTableFilter. getJoin()TableFilterTableFilter. getNestedJoin()default TableFilterColumnResolver. getTableFilter()Get the table filter.TableFilterTableFilter. getTableFilter()Methods in org.h2.table with parameters of type TableFilter Modifier and Type Method Description voidTableFilter.MapColumnsVisitor. accept(TableFilter f)voidTableFilter.TableFilterVisitor. accept(TableFilter f)This method is called for each nested or joined table filter.voidTableFilter. addCommonJoinColumns(Column leftColumn, Column replacementColumn, TableFilter replacementFilter)Add a column to the common join column list for a left table filter.voidTableFilter. addJoin(TableFilter filter, boolean outer, Expression on)Add a joined table.PlanItemTable. getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)Get the best plan for the given search mask.PlanItemTableFilter. getBestPlanItem(SessionLocal s, TableFilter[] filters, int filter, AllColumnsForPlan allColumnsSet)Get the best plan item (index, cost) to use for the current join order.PlanItemTableView. getBestPlanItem(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)private static IndexHintsTable. getIndexHints(TableFilter[] filters, int filter)PlanItemPlan. getItem(TableFilter filter)Get the plan item for the given table.IndexTable. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)Get the scan index for this table.IndexTableView. getScanIndex(SessionLocal session, int[] masks, TableFilter[] filters, int filter, SortOrder sortOrder, AllColumnsForPlan allColumnsSet)private voidPlan. setEvaluatable(TableFilter filter, boolean b)voidTableFilter. setEvaluatable(TableFilter filter, boolean b)Update the filter and join conditions of this and all joined tables with the information that the given table filter and all nested filter can now return rows or not.voidTableFilter. setNestedJoin(TableFilter filter)Set a nested joined table.Constructors in org.h2.table with parameters of type TableFilter Constructor Description Plan(TableFilter[] filters, int count, Expression condition)Create a query plan with the given order.
-