Package | Description |
---|---|
org.castor.cpa.persistence.sql.engine | |
org.castor.cpa.persistence.sql.query | |
org.castor.cpa.persistence.sql.query.condition |
Modifier and Type | Method and Description |
---|---|
void |
CastorStatement.prepareStatement(Update update,
Condition condition)
Method to prepare update statement, append passed condition and store it in
local Variable.
|
Modifier and Type | Method and Description |
---|---|
Condition |
Select.getCondition()
Get condition that specifies which records to select.
|
Condition |
Update.getCondition()
Get condition that specifies which records to update.
|
Condition |
Join.getCondition()
Method returning condition currently set.
|
Condition |
Delete.getCondition()
Get condition that specifies which records to delete.
|
Modifier and Type | Method and Description |
---|---|
void |
Qualifier.addFullJoin(Qualifier join,
Condition cond)
Method providing possibility to add full join with a specific condition.
|
void |
Qualifier.addInnerJoin(Qualifier join,
Condition cond)
Method providing possibility to add inner join with a specific condition.
|
void |
Qualifier.addLeftJoin(Qualifier join,
Condition cond)
Method providing possibility to add left join with a specific condition.
|
void |
Qualifier.addRightJoin(Qualifier join,
Condition cond)
Method providing possibility to add right join with a specific condition.
|
void |
Select.setCondition(Condition condition)
Set condition that specifies which records to select.
|
void |
Update.setCondition(Condition condition)
Set condition that specifies which records to update.
|
void |
Delete.setCondition(Condition condition)
Set condition that specifies which records to delete.
|
Constructor and Description |
---|
Join(JoinOperator oper,
Qualifier join,
Condition cond)
Default constructor copying passed values to class variables.
|
Modifier and Type | Class and Description |
---|---|
class |
AndCondition
Represents a list of conditions that are concatenated by an AND operator.
|
class |
Compare
Compare 2 conditions with an operator.
|
class |
CompoundCondition
Compound condition is the abstract base class for AndCondition and OrCondition.
|
class |
IsNullPredicate
Predicate that checks expressions for being null or not null.
|
class |
OrCondition
Represents a list of conditions that are concatenated by an OR operator.
|
class |
Predicate
Abstract base class for all predicates.
|
Modifier and Type | Method and Description |
---|---|
Condition |
AndCondition.and(Condition condition) |
Condition |
Condition.and(Condition condition)
Builder method to concatenate the given condition with all others that have
previously been added with an AND operator.
|
Condition |
Compare.not() |
Condition |
Predicate.not() |
Condition |
AndCondition.not() |
Condition |
OrCondition.not() |
abstract Condition |
Condition.not()
Builder method to invert a condition.
|
Condition |
OrCondition.or(Condition condition) |
Condition |
Condition.or(Condition condition)
Builder method to concatenate the given condition with all others that have
previously been added with an OR operator.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Condition> |
CompoundCondition.iterator()
Returns an iterator over the elements in this list in proper sequence.
|
Modifier and Type | Method and Description |
---|---|
Condition |
AndCondition.and(Condition condition) |
Condition |
Condition.and(Condition condition)
Builder method to concatenate the given condition with all others that have
previously been added with an AND operator.
|
protected void |
AndCondition.append(Condition condition) |
protected void |
CompoundCondition.append(Condition condition)
Appends the specified condition to end of this list of conditions.
|
protected void |
OrCondition.append(Condition condition) |
protected void |
CompoundCondition.insert(Condition condition)
Inserts the specified condition at begin of this list of conditions.
|
Condition |
OrCondition.or(Condition condition) |
Condition |
Condition.or(Condition condition)
Builder method to concatenate the given condition with all others that have
previously been added with an OR operator.
|
Constructor and Description |
---|
AndCondition(Condition condition1,
Condition condition2)
Constructor for a compound condition that concatenates the 2 given conditions with
an AND operator.
|
OrCondition(Condition condition1,
Condition condition2)
Constructor for a compound condition that concatenates the 2 given conditions with
an OR operator.
|
Copyright © 2013. All rights reserved.