Uses of Class
org.h2.command.query.Query
-
Packages that use Query Package Description org.h2.command This package contains the parser and the base classes for prepared SQL statements.org.h2.command.ddl Contains DDL (data definition language) and related SQL statements.org.h2.command.dml Contains DML (data manipulation language) and related SQL statements.org.h2.command.query Contains queries.org.h2.expression Expressions include mathematical operations, simple values, and others.org.h2.expression.condition Condition expressions.org.h2.index Various table index implementations, as well as cursors to navigate in an index.org.h2.table Classes related to a table and table meta data. -
-
Uses of Query in org.h2.command
Methods in org.h2.command that return Query Modifier and Type Method Description private Query
Parser. parseExplicitTable(int start)
private Query
Parser. parseQuery()
private Query
Parser. parseQueryExpression()
private Query
Parser. parseQueryExpressionBody()
private Query
Parser. parseQueryExpressionBodyAndEndOfQuery()
private Query
Parser. parseQueryPrimary()
private Query
Parser. parseQueryTerm()
Methods in org.h2.command with parameters of type Query Modifier and Type Method Description private void
Parser. parseEndOfQuery(Query command)
-
Uses of Query in org.h2.command.ddl
Fields in org.h2.command.ddl declared as Query Modifier and Type Field Description private Query
CreateTable. asQuery
private Query
CreateView. select
Methods in org.h2.command.ddl with parameters of type Query Modifier and Type Method Description void
CreateTable. setQuery(Query query)
void
CreateView. setSelect(Query select)
-
Uses of Query in org.h2.command.dml
Fields in org.h2.command.dml declared as Query Modifier and Type Field Description private Query
Insert. query
private Query
Merge. query
Methods in org.h2.command.dml with parameters of type Query Modifier and Type Method Description void
Insert. setQuery(Query query)
void
Merge. setQuery(Query query)
-
Uses of Query in org.h2.command.query
Subclasses of Query in org.h2.command.query Modifier and Type Class Description class
Select
This class represents a simple SELECT statement.class
SelectUnion
Represents a union SELECT statement.class
TableValueConstructor
Table value constructor.Fields in org.h2.command.query declared as Query Modifier and Type Field Description (package private) Query
SelectUnion. left
The left hand side of the union (the first subquery).(package private) Query
SelectUnion. right
The right hand side of the union (the second subquery).Methods in org.h2.command.query that return Query Modifier and Type Method Description Query
SelectUnion. getLeft()
Query
SelectUnion. getRight()
Methods in org.h2.command.query with parameters of type Query Modifier and Type Method Description Table
Query. toTable(java.lang.String alias, Column[] columnTemplates, java.util.ArrayList<Parameter> parameters, boolean forCreateView, Query topQuery)
Converts this query to a table or a view.Table
TableValueConstructor. toTable(java.lang.String alias, Column[] columnTemplates, java.util.ArrayList<Parameter> parameters, boolean forCreateView, Query topQuery)
Constructors in org.h2.command.query with parameters of type Query Constructor Description SelectUnion(SessionLocal session, SelectUnion.UnionType unionType, Query query, Query right)
-
Uses of Query in org.h2.expression
Fields in org.h2.expression declared as Query Modifier and Type Field Description private Query
ArrayConstructorByQuery. query
The subquery.private Query
Subquery. query
Methods in org.h2.expression that return Query Modifier and Type Method Description Query
Subquery. getQuery()
Constructors in org.h2.expression with parameters of type Query Constructor Description ArrayConstructorByQuery(Query query)
Creates new instance of array value constructor by query.Subquery(Query query)
-
Uses of Query in org.h2.expression.condition
Fields in org.h2.expression.condition declared as Query Modifier and Type Field Description (package private) Query
PredicateWithSubquery. query
The subquery.Constructors in org.h2.expression.condition with parameters of type Query Constructor Description ConditionInQuery(Expression left, boolean not, boolean whenOperand, Query query, boolean all, int compareType)
ExistsPredicate(Query query)
PredicateWithSubquery(Query query)
UniquePredicate(Query query)
-
Uses of Query in org.h2.index
Fields in org.h2.index declared as Query Modifier and Type Field Description private Query
IndexCondition. expressionQuery
private Query
ViewIndex. query
Methods in org.h2.index that return Query Modifier and Type Method Description Query
IndexCondition. getExpressionQuery()
Get expression query.Query
ViewIndex. getQuery()
private Query
ViewIndex. getQuery(SessionLocal session, int[] masks)
Methods in org.h2.index with parameters of type Query Modifier and Type Method Description static 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 Query Modifier and Type Field Description private Query
TableView. topQuery
private Query
TableView. viewQuery
Methods in org.h2.table that return Query Modifier and Type Method Description private Query
TableView. compileViewQuery(SessionLocal session, java.lang.String sql, boolean literalsChecked)
Query
TableView. getTopQuery()
Methods in org.h2.table with parameters of type Query Modifier and Type Method Description static java.util.List<Column>
TableView. createQueryColumnTemplateList(java.lang.String[] cols, Query theQuery, java.lang.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, java.lang.String name, Column[] columnTemplates, Query query, Query topQuery)
Create a temporary view out of the given query.private void
TableView. setTopQuery(Query topQuery)
-