Uses of Class
org.h2.command.query.Query
Packages that use Query
Package
Description
This package contains the parser and the base classes for prepared SQL statements.
Contains DDL (data definition language) and related SQL statements.
Contains DML (data manipulation language) and related SQL statements.
Contains queries.
Expressions include mathematical operations, simple values, and others.
Condition expressions.
Various table index implementations, as well as cursors to navigate in an index.
Classes related to a table and table meta data.
-
Uses of Query in org.h2.command
Methods in org.h2.command that return QueryModifier and TypeMethodDescriptionprivate QueryParser.parseExplicitTable(int start) private QueryParser.parseQuery()private QueryParser.parseQueryExpression()private QueryParser.parseQueryExpressionBody()private Queryprivate QueryParser.parseQueryPrimary()private QueryParser.parseQueryTerm()Methods in org.h2.command with parameters of type Query -
Uses of Query in org.h2.command.ddl
Fields in org.h2.command.ddl declared as QueryModifier and TypeFieldDescriptionprivate QueryCreateTable.asQueryprivate QueryCreateView.selectMethods in org.h2.command.ddl with parameters of type Query -
Uses of Query in org.h2.command.dml
Fields in org.h2.command.dml declared as QueryMethods in org.h2.command.dml with parameters of type Query -
Uses of Query in org.h2.command.query
Subclasses of Query in org.h2.command.queryModifier and TypeClassDescriptionclassThis class represents a simple SELECT statement.classRepresents a union SELECT statement.classTable value constructor.Fields in org.h2.command.query declared as QueryModifier and TypeFieldDescription(package private) final QuerySelectUnion.leftThe left hand side of the union (the first subquery).(package private) final QuerySelectUnion.rightThe right hand side of the union (the second subquery).Methods in org.h2.command.query that return QueryMethods in org.h2.command.query with parameters of type QueryModifier and TypeMethodDescriptionQuery.toTable(String alias, Column[] columnTemplates, ArrayList<Parameter> parameters, boolean forCreateView, Query topQuery) Converts this query to a table or a view.TableValueConstructor.toTable(String alias, Column[] columnTemplates, ArrayList<Parameter> parameters, boolean forCreateView, Query topQuery) Constructors in org.h2.command.query with parameters of type QueryModifierConstructorDescriptionSelectUnion(SessionLocal session, SelectUnion.UnionType unionType, Query query, Query right) -
Uses of Query in org.h2.expression
Fields in org.h2.expression declared as QueryModifier and TypeFieldDescriptionprivate final QueryArrayConstructorByQuery.queryThe subquery.private final QuerySubquery.queryMethods in org.h2.expression that return QueryConstructors in org.h2.expression with parameters of type QueryModifierConstructorDescriptionArrayConstructorByQuery(Query query) Creates new instance of array value constructor by query. -
Uses of Query in org.h2.expression.condition
Fields in org.h2.expression.condition declared as QueryModifier and TypeFieldDescription(package private) final QueryPredicateWithSubquery.queryThe subquery.Constructors in org.h2.expression.condition with parameters of type QueryModifierConstructorDescriptionConditionInQuery(Expression left, boolean not, boolean whenOperand, Query query, boolean all, int compareType) ExistsPredicate(Query query) (package private)PredicateWithSubquery(Query query) UniquePredicate(Query query) -
Uses of Query in org.h2.index
Fields in org.h2.index declared as QueryModifier and TypeFieldDescriptionprivate QueryIndexCondition.expressionQueryprivate QueryViewIndex.queryMethods in org.h2.index that return QueryModifier and TypeMethodDescriptionIndexCondition.getExpressionQuery()Get expression query.ViewIndex.getQuery()private QueryViewIndex.getQuery(SessionLocal session, int[] masks) Methods in org.h2.index with parameters of type QueryModifier and TypeMethodDescriptionstatic IndexConditionIndexCondition.getInQuery(ExpressionColumn column, Query query) Create an index condition with the compare type IN_QUERY and with the given parameters. -
Uses of Query in org.h2.table
Fields in org.h2.table declared as QueryModifier and TypeFieldDescriptionprivate QueryTableView.topQueryprivate QueryTableView.viewQueryMethods in org.h2.table that return QueryModifier and TypeMethodDescriptionprivate QueryTableView.compileViewQuery(SessionLocal session, String sql, boolean literalsChecked) TableView.getTopQuery()Methods in org.h2.table with parameters of type QueryModifier and TypeMethodDescriptionTableView.createQueryColumnTemplateList(String[] cols, Query theQuery, String[] querySQLOutput) Creates a list of column templates from a query (usually from WITH query, but could be any query)static TableViewTableView.createTempView(SessionLocal session, User owner, String name, Column[] columnTemplates, Query query, Query topQuery) Create a temporary view out of the given query.private voidTableView.setTopQuery(Query topQuery)