| Package | Description |
|---|---|
| org.sql.generation.api.grammar.booleans |
This package provides interfaces for syntax elements of boolean expressions in SQL language.
|
| org.sql.generation.api.grammar.builders.booleans |
This package contains builders for various boolean expressions.
|
| org.sql.generation.api.grammar.builders.query |
Package to hold builders for SQL queries (
SELECT -statements). |
| org.sql.generation.api.grammar.definition.table |
This package contains syntax interfaces for
CREATE TABLE statement. |
| org.sql.generation.api.grammar.factories |
This package provides factories to create various builders and SQL syntax elements.
|
| org.sql.generation.api.grammar.modification |
This package contains syntax elements relevant to SQL modification clauses (
INSERT INTO, DELETE FROM, and UPDATE). |
| org.sql.generation.api.grammar.query |
This package and its sub-package contain elements related to SQL queries (
SELECT statements). |
| org.sql.generation.api.grammar.query.joins |
This package provides syntax interfaces for joined tables, mostly used in
FROM clause. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BetweenPredicate
The interface for syntax element representing SQL expression
BETWEEN x AND y. |
interface |
BinaryPredicate
A common interface for all boolean expressions taking two value expressions and having some operator between them.
|
interface |
BooleanTest
The interface for syntax element representing
<X> IS [NOT] (TRUE | FALSE | UNKNOWN) expression (boolean
test), where <X> is some boolean expression. |
interface |
ComposedBooleanExpression
A common interface for all boolean expressions composing of other boolean expressions.
|
interface |
Conjunction
A conjunction (
AND) of two boolean expressions. |
interface |
Disjunction
A disjunction (
OR of two boolean expressions. |
interface |
EqualsPredicate
The interface for syntax element representing equality test (x
= y). |
interface |
ExistsPredicate
The interface for syntax element representing existence test (
EXISTS). |
interface |
GreaterOrEqualPredicate
The interface for syntax element representing the test of left value being greater than, or equal to right value (x
>= y). |
interface |
GreaterThanPredicate
The interface for syntax element representing the test of left value being greater than right value (x
> y). |
interface |
InPredicate
The interface for syntax element representing the test of something being one of the specified set of values (x
IN (y, z, ...)). |
interface |
IsNotNullPredicate
The interface for syntax element representing test for something being not
NULL (x IS NOT NULL). |
interface |
IsNullPredicate
The interface for syntax element representing test for something being
NULL (x IS NULL). |
interface |
LessOrEqualPredicate
The interface for syntax element representing the test of left value being lesser than, or equal to right value (x
<= y). |
interface |
LessThanPredicate
The interface for syntax element representing the test of left value being less than right value (x
< y). |
interface |
LikePredicate
The interface for syntax element representing the test of left expression matching the supplied pattern using basic
SQL match (x
LIKE y). |
interface |
MultiPredicate
A common interface for all predicates accepting more than two expressions.
|
interface |
Negation
A negation (
NOT x) of a boolean expression. |
interface |
NotBetweenPredicate
The interface for syntax element representing SQL expression
NOT BETWEEN x AND y. |
interface |
NotEqualsPredicate
The interface for syntax element representing inequality test (x
<> y). |
interface |
NotInPredicate
The interface for syntax element representing the test of something not being one of the specified set of values (x
NOT IN (y, z, ...)). |
interface |
NotLikePredicate
The interface for syntax element representing the test of left expression not matching the supplied pattern using
basic SQL match (x
NOT LIKE y). |
interface |
NotRegexpPredicate
The interface for syntax element representing the test of left expression not matching the supplied pattern using
advanced regular expression match (operator varies).
|
interface |
Predicate
A common interfaces for predicates (boolean expressions not containing other boolean expressions).
|
interface |
RegexpPredicate
The interface for syntax element representing the test of left expression matching the supplied pattern using
advanced regular expression match (operator varies).
|
interface |
UnaryPredicate
A common interface for all boolean expressions requiring exactly one value expression.
|
interface |
UniquePredicate
The interface for syntax element representing the test for uniqueness (
UNIQUE sub-query). |
| Modifier and Type | Class and Description |
|---|---|
static class |
BooleanExpression.False
This class represents a boolean expression which always evaluates to false (
FALSE. |
static class |
BooleanExpression.True
This class represents a boolean expression which always evaluates to true (
TRUE). |
static class |
Predicate.EmptyPredicate
A class representing empty predicate.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
BooleanTest.getBooleanExpression()
Returns the boolean expression to be tested.
|
BooleanExpression |
Disjunction.getLeft()
Returns the boolean expression on the left side of
OR. |
BooleanExpression |
Conjunction.getLeft()
Returns the boolean expression on the left side of
AND. |
BooleanExpression |
Negation.getNegated()
Returns the boolean expression being negated.
|
BooleanExpression |
Disjunction.getRight()
Returns the boolean expression on the right side of
OR. |
BooleanExpression |
Conjunction.getRight()
Returns the boolean expression on the right side of
AND. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends BooleanExpression> |
Predicate.EmptyPredicate.getImplementedType()
Returns
Predicate.EmptyPredicate. |
| Modifier and Type | Method and Description |
|---|---|
BooleanBuilder |
BooleanBuilder.and(BooleanExpression next)
Sets current expression as current expression
AND next. |
BooleanBuilder |
BooleanBuilder.or(BooleanExpression next)
Sets current expression as current expression
OR next |
BooleanBuilder |
BooleanBuilder.reset(BooleanExpression newExpression)
Sets current expression as given parameter.
|
| Modifier and Type | Method and Description |
|---|---|
SimpleQueryBuilder |
SimpleQueryBuilder.having(BooleanExpression groupingCondition)
Adds
HAVING grouping condition for this query. |
SimpleQueryBuilder |
SimpleQueryBuilder.where(BooleanExpression searchCondition)
Sets the search condition (
WHERE clause) for this query. |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
CheckConstraint.getCheckCondition() |
| Modifier and Type | Method and Description |
|---|---|
Conjunction |
BooleanFactory.and(BooleanExpression left,
BooleanExpression right)
Creates new
Conjunction. |
BooleanBuilder |
BooleanFactory.booleanBuilder(BooleanExpression first)
Returns new
BooleanBuilder with given boolean expression as initial value. |
CheckConstraint |
DefinitionFactory.createCheckConstraint(BooleanExpression check)
Creates a
CHECK clause, typically used in CREATE TABLE statements. |
JoinCondition |
TableReferenceFactory.jc(BooleanExpression condition)
Creates a join-condition using specified boolean expression to join tables.
|
Negation |
BooleanFactory.not(BooleanExpression what)
Creates new
Negation. |
Disjunction |
BooleanFactory.or(BooleanExpression left,
BooleanExpression right)
Creates new
Disjunction. |
BooleanTest |
BooleanFactory.test(BooleanExpression expression,
BooleanTest.TestType testType,
BooleanTest.TruthValue truthValue)
Creates new
BooleanTest. |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
UpdateBySearch.getWhere()
Returns the search condition for the rows to be updated.
|
BooleanExpression |
DeleteBySearch.getWhere()
Returns the search condition for rows to delete.
|
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
QuerySpecification.getHaving()
Returns the grouping condition for
GROUP BY clause of this SELECT statement. |
BooleanExpression |
QuerySpecification.getWhere()
Returns the search condition for resulting rows of this
SELECT statement. |
| Modifier and Type | Method and Description |
|---|---|
BooleanExpression |
JoinCondition.getSearchConidition()
Returns the join condition for the
QualifiedJoinedTable. |
Copyright © 2010-2012. All Rights Reserved.