Package | Description |
---|---|
org.sqlite.parser.ast |
Modifier and Type | Class | Description |
---|---|---|
class |
BetweenExpr |
Represents a
BETWEEN expression. |
class |
BinaryExpr |
expr binary-operator expr
expr IS [NOT] expr
|
class |
CaseExpr |
Represents a
CASE expression. |
class |
CastExpr |
Represents a type-cast expression.
|
class |
CollateExpr |
Represents a
COLLATE expression. |
class |
CurrentTimeExpr |
|
class |
DoublyQualifiedExpr |
Represents a column-name expression, optionally qualified by a table name and further by a database name.
|
class |
ExistsExpr |
Represents a subquery
SELECT expression with the EXISTS qualifier. |
class |
FunctionCallExpr |
Represents a call to a built-in function.
|
class |
FunctionCallStarExpr |
function-name(*)
|
class |
IdExpr |
|
class |
InListExpr |
Represents an
IN expression with the right-hand side being a list of subexpressions. |
class |
InSelectExpr |
Represents an
IN expression with the right-hand side being a SELECT statement. |
class |
InTableExpr |
Represents an @IN@ expression with the right-hand side being a table name, optionally qualified by a database name.
|
class |
IsNullExpr |
Represents an
ISNULL /IS NULL or a NOTNULL expression. |
class |
LikeExpr |
Represents a textual comparison expression.
|
class |
LiteralExpr |
literal-value
|
class |
NotNullExpr |
Represents a
NOT NULL expression. |
class |
ParenthesizedExpr |
Represents a parenthesized subexpression.
|
class |
QualifiedExpr |
|
class |
RaiseExpr |
Represents a
RAISE expression. |
class |
SubqueryExpr |
Represents a subquery
SELECT expression. |
class |
UnaryExpr |
unary_operator expr
a unary negation expression.
|
class |
VariableExpr |
bind-parameter
Represents
a positional-variable expression, written in SQL as
? or
a numbered positional variable expression, written in SQL as ?nnn or
a named positional variable expression, written in SQL as :aaaa . |
Modifier and Type | Field | Description |
---|---|---|
Expr |
CaseExpr.base |
|
Expr |
Attach.dbName |
|
Expr |
CaseExpr.elseExpr |
|
Expr |
BetweenExpr.end |
|
Expr |
LikeExpr.escape |
|
Expr |
Attach.expr |
|
Expr |
CastExpr.expr |
|
Expr |
CheckColumnConstraint.expr |
|
Expr |
CheckTableConstraint.expr |
|
Expr |
CollateExpr.expr |
|
Expr |
DefaultColumnConstraint.expr |
|
Expr |
Detach.expr |
|
Expr |
IsNullExpr.expr |
|
Expr |
Limit.expr |
|
Expr |
NotNullExpr.expr |
|
Expr |
ResultColumn.expr |
|
Expr |
Set.expr |
|
Expr |
UnaryExpr.expr |
|
Expr |
GroupBy.having |
|
Expr |
Attach.key |
|
Expr |
BetweenExpr.lhs |
|
Expr |
BinaryExpr.lhs |
|
Expr |
InListExpr.lhs |
|
Expr |
InSelectExpr.lhs |
|
Expr |
InTableExpr.lhs |
|
Expr |
LikeExpr.lhs |
|
Expr |
SortedColumn.name |
|
Expr |
Limit.offset |
|
Expr |
JoinConstraint.on |
|
Expr |
BinaryExpr.rhs |
|
Expr |
LikeExpr.rhs |
|
Expr |
TypeSize.size1 |
|
Expr |
TypeSize.size2 |
|
Expr |
BetweenExpr.start |
|
Expr |
Upsert.targetWhere |
|
Expr |
WhenThenPair.then |
|
Expr |
Pragma.value |
|
Expr |
WhenThenPair.when |
|
Expr |
CreateTrigger.whenClause |
|
Expr |
Upsert.where |
|
Expr |
CreateIndex.whereClause |
|
Expr |
Delete.whereClause |
|
Expr |
DeleteTriggerCmd.whereClause |
|
Expr |
OneSelect.whereClause |
|
Expr |
Update.whereClause |
|
Expr |
UpdateTriggerCmd.whereClause |
Modifier and Type | Field | Description |
---|---|---|
List<Expr> |
FunctionCallExpr.args |
|
List<Expr> |
InTableExpr.args |
|
List<Expr> |
GroupBy.exprs |
|
List<Expr> |
ParenthesizedExpr.exprs |
|
List<Expr> |
SelectTable.exprs |
|
List<Expr> |
InListExpr.rhs |
|
List<List<Expr>> |
OneSelect.values |
Modifier and Type | Method | Description |
---|---|---|
Expr |
ColumnNameAndType.getDecimalDigits() |
|
Expr |
Type.getDecimalDigits() |
|
Expr |
TypeSize.getDecimalDigits() |
|
Expr |
ColumnNameAndType.getSize() |
|
Expr |
Type.getSize() |
|
Expr |
TypeSize.getSize() |
Modifier and Type | Method | Description |
---|---|---|
static TypeSize |
TypeSize.couple(Expr size1,
Expr size2) |
|
static ResultColumn |
ResultColumn.expr(Expr expr,
As as) |
|
static FunctionCallExpr |
FunctionCallExpr.from(String name,
Expr... args) |
|
static IsNullExpr |
IsNullExpr.from(Expr expr,
short tt) |
|
static JoinConstraint |
JoinConstraint.from(Expr expr,
List<String> colNames) |
|
static Pragma |
Pragma.from(Token x,
String y,
Expr value) |
|
static LikeExpr |
LikeExpr.like(Expr lhs,
Expr rhs) |
|
static FunctionCallExpr |
FunctionCallExpr.lower(Expr expr) |
|
static TypeSize |
TypeSize.maxSize(Expr max) |
|
static JoinConstraint |
JoinConstraint.on(Expr expr) |
Modifier and Type | Method | Description |
---|---|---|
static SelectTable |
SelectTable.tableCall(QualifiedName tblName,
List<Expr> exprs,
As as) |
Constructor | Description |
---|---|
Attach(Expr expr,
Expr dbName,
Expr key) |
|
BetweenExpr(Expr lhs,
boolean not,
Expr start,
Expr end) |
|
BinaryExpr(Expr lhs,
Operator op,
Expr rhs) |
|
CaseExpr(Expr base,
List<WhenThenPair> whenThenPairs,
Expr elseExpr) |
|
CastExpr(Expr expr,
Type typeName) |
|
CheckColumnConstraint(String name,
Expr expr) |
|
CheckTableConstraint(String name,
Expr expr) |
|
CollateExpr(Expr expr,
String name) |
|
CreateIndex(boolean unique,
boolean ifNotExists,
QualifiedName idxName,
String tblName,
List<SortedColumn> columns,
Expr whereClause) |
|
CreateTrigger(boolean temporary,
boolean ifNotExists,
QualifiedName triggerName,
TriggerTime time,
TriggerEvent event,
QualifiedName tblName,
boolean forEachRow,
Expr whenClause) |
|
DefaultColumnConstraint(String name,
Expr expr) |
|
Delete(With with,
QualifiedName tblName,
Indexed indexed,
Expr whereClause,
List<SortedColumn> orderBy,
Limit limit) |
|
DeleteTriggerCmd(String tblName,
Expr whereClause) |
|
Detach(Expr expr) |
|
GroupBy(List<Expr> exprs,
Expr having) |
|
InListExpr(Expr lhs,
boolean not,
List<Expr> rhs) |
|
InSelectExpr(Expr lhs,
boolean not,
Select rhs) |
|
InTableExpr(Expr lhs,
boolean not,
QualifiedName rhs,
List<Expr> args) |
|
IsNullExpr(Expr expr,
NullOperator op) |
|
LikeExpr(Expr lhs,
NotLike op,
Expr rhs,
Expr escape) |
|
Limit(Expr expr,
Expr offset) |
|
NotNullExpr(Expr expr) |
|
OneSelect(Distinctness distinctness,
List<ResultColumn> columns,
FromClause from,
Expr whereClause,
GroupBy groupBy) |
|
ParenthesizedExpr(Expr expr) |
|
Pragma(QualifiedName name,
Expr value) |
|
Set(String colName,
Expr expr) |
|
Set(List<String> colNames,
Expr expr) |
|
SortedColumn(Expr name,
SortOrder order) |
|
UnaryExpr(UnaryOperator op,
Expr expr) |
|
Update(With with,
ResolveType orConflict,
QualifiedName tblName,
Indexed indexed,
List<Set> sets,
Expr whereClause,
List<SortedColumn> orderBy,
Limit limit) |
|
UpdateTriggerCmd(ResolveType orConflict,
String tblName,
List<Set> sets,
Expr whereClause) |
|
Upsert(List<SortedColumn> targets,
Expr targetWhere,
List<Set> sets,
Expr where) |
|
WhenThenPair(Expr when,
Expr then) |
Constructor | Description |
---|---|
FunctionCallExpr(String name,
Distinctness distinctness,
List<Expr> args) |
|
GroupBy(List<Expr> exprs,
Expr having) |
|
InListExpr(Expr lhs,
boolean not,
List<Expr> rhs) |
|
InTableExpr(Expr lhs,
boolean not,
QualifiedName rhs,
List<Expr> args) |
|
OneSelect(List<List<Expr>> values) |
|
ParenthesizedExpr(List<Expr> exprs) |
Copyright © 2018. All rights reserved.