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 Query
Parser.parseExplicitTable
(int start) private Query
Parser.parseQuery()
private Query
Parser.parseQueryExpression()
private Query
Parser.parseQueryExpressionBody()
private Query
private Query
Parser.parseQueryPrimary()
private Query
Parser.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 Query
CreateTable.asQuery
private Query
CreateView.select
Methods 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 TypeClassDescriptionclass
This class represents a simple SELECT statement.class
Represents a union SELECT statement.class
Table value constructor.Fields in org.h2.command.query declared as QueryModifier and TypeFieldDescription(package private) final Query
SelectUnion.left
The left hand side of the union (the first subquery).(package private) final Query
SelectUnion.right
The 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 Query
ArrayConstructorByQuery.query
The subquery.private final Query
Subquery.query
Methods 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 Query
PredicateWithSubquery.query
The 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 Query
IndexCondition.expressionQuery
private Query
ViewIndex.query
Methods in org.h2.index that return QueryModifier and TypeMethodDescriptionIndexCondition.getExpressionQuery()
Get expression query.ViewIndex.getQuery()
private Query
ViewIndex.getQuery
(SessionLocal session, int[] masks) Methods in org.h2.index with parameters of type QueryModifier and TypeMethodDescriptionstatic IndexCondition
IndexCondition.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 Query
TableView.topQuery
private Query
TableView.viewQuery
Methods in org.h2.table that return QueryModifier and TypeMethodDescriptionprivate Query
TableView.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 TableView
TableView.createTempView
(SessionLocal session, User owner, String name, Column[] columnTemplates, Query query, Query topQuery) Create a temporary view out of the given query.private void
TableView.setTopQuery
(Query topQuery)