Package | Description |
---|---|
org.castor.cpa.persistence.sql.query | |
org.castor.cpa.persistence.sql.query.condition | |
org.castor.cpa.persistence.sql.query.expression |
Modifier and Type | Method and Description |
---|---|
Expression |
Assignment.rightExpression()
Returns right operand of the assignment.
|
Modifier and Type | Method and Description |
---|---|
List<Expression> |
Select.getSelect()
Getter returning list of Expressions currently set.
|
Modifier and Type | Method and Description |
---|---|
void |
Update.addAssignment(Column column,
Expression value)
Appends an assignment of the given value to the given column.
|
void |
Insert.addAssignment(Column column,
Expression value)
Appends an assignment of the given value to the given column.
|
Constructor and Description |
---|
Assignment(Column left,
Expression right)
Constructor that assigns the given rigth hand operand cto the left hand one.
|
Modifier and Type | Method and Description |
---|---|
Expression |
Predicate.expression()
Expression to apply the predicate to.
|
Expression |
Compare.leftExpression()
Returns left operand of the comparison.
|
Expression |
Compare.rightExpression()
Returns right operand of the comparison.
|
Constructor and Description |
---|
Compare(Expression left,
CompareOperator operator,
Expression right)
Constructor a compare condition that compares given left and rigth hand operand
with given comparison operator.
|
IsNullPredicate(Expression expression)
Construct a predicate that checks the given expression for being null.
|
IsNullPredicate(Expression expression,
boolean evaluateTo)
Construct a predicate that checks the given expression for being null.
|
Predicate(Expression expression,
boolean evaluateTo)
Construct a predicate with given expression.
|
Modifier and Type | Class and Description |
---|---|
class |
Column
Class representing a column of the database table.
|
class |
Function
Base class for all any sql functions.
|
class |
NextVal
Class for NEXTVAL sql function.
|
class |
Parameter
A parameter in a SQL query.
|
Modifier and Type | Method and Description |
---|---|
Compare |
Expression.equal(Expression expression)
Compare if this expression is equal to the given one.
|
Compare |
Expression.greaterEqual(Expression expression)
Compare if this expression is greater than or equal to the given one.
|
Compare |
Expression.greaterThan(Expression expression)
Compare if this expression is greater than the given one.
|
Compare |
Expression.lessEqual(Expression expression)
Compare if this expression is less than or equal to the given one.
|
Compare |
Expression.lessThan(Expression expression)
Compare if this expression is less than the given one.
|
Compare |
Expression.notEqual(Expression expression)
Compare if this expression is not equal to the given one.
|
Copyright © 2014. All rights reserved.