Package org.castor.cpa.query
Interface Expression
- All Superinterfaces:
QueryObject
- All Known Implementing Classes:
Abs
,AbstractExpression
,AbstractField
,AbstractFunction
,AbstractLiteral
,AbstractNumericLiteral
,AbstractParameter
,AbstractTemporalLiteral
,Add
,BigDecimalLiteral
,BooleanLiteral
,CompoundExpression
,Concat
,CustomFunction
,DateLiteral
,Divide
,DoubleLiteral
,EnumLiteral
,FieldImpl
,Length
,Locate
,LongLiteral
,Lower
,Multiply
,NamedParameter
,Negate
,PositionalParameter
,ProjectionImpl
,Remainder
,SchemaImpl
,Sqrt
,StringLiteral
,Substring
,Subtract
,TimeLiteral
,TimestampLiteral
,Trim
,Upper
Interface specification for expressions of query objects.
- Since:
- 1.3
- Version:
- $Revision: 7121 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Udai Gupta, Ralf Joachim
-
Method Summary
Modifier and TypeMethodDescriptionabs()
The method for ABS function of query objects.add
(double value) The method for Add ( + ) additive arithmetic expression of query objects.add
(long value) The method for Add arithmetic expression of query objects.add
(BigDecimal value) The method for Add ( + ) additive arithmetic expression of query objects.add
(Expression value) The method for Add ( + ) additive arithmetic expression of query objects.between
(double low, double high) Between.between
(long low, long high) Between.Between.between
(BigDecimal low, BigDecimal high) Between.between
(Expression low, Expression high) Between.between
(TemporalType temporalType, Calendar low, Calendar high) Between.between
(TemporalType temporalType, Date low, Date high) Between.The method for Concat ( || ) additive arithmetic expression of query objects.concat
(Expression value) The method for Concat ( || ) additive arithmetic expression of query objects.divide
(double value) The method for Divide ( / ) multiplicative arithmetic expression of query objects.divide
(long value) The method for Divide ( / ) multiplicative arithmetic expression of query objects.divide
(BigDecimal value) The method for Divide ( / ) multiplicative arithmetic expression of query objects.divide
(Expression value) The method for Divide ( / ) multiplicative arithmetic expression of query objects.equal
(boolean value) Equal.equal
(double value) Equal.equal
(long value) Equal.Equal.equal
(BigDecimal value) Equal.equal
(Expression value) Equal.equal
(TemporalType temporalType, Calendar value) Equal.equal
(TemporalType temporalType, Date value) Equal.greaterEqual
(double value) Greater equal.greaterEqual
(long value) Greater equal.greaterEqual
(String value) Greater equal.greaterEqual
(BigDecimal value) Greater equal.greaterEqual
(Expression value) Greater equal.greaterEqual
(TemporalType temporalType, Calendar value) Greater equal.greaterEqual
(TemporalType temporalType, Date value) Greater equal.greaterThan
(double value) Greater Then.greaterThan
(long value) Greater Then.greaterThan
(String value) Greater Then.greaterThan
(BigDecimal value) Greater Then.greaterThan
(Expression value) Greater Then.greaterThan
(TemporalType temporalType, Calendar value) Greater Then.greaterThan
(TemporalType temporalType, Date value) Greater Then.length()
The method for LENGTH function of query objects.lessEqual
(double value) Less equal.lessEqual
(long value) Less equal.Less equal.lessEqual
(BigDecimal value) Less equal.lessEqual
(Expression value) Less equal.lessEqual
(TemporalType temporalType, Calendar value) Less equal.lessEqual
(TemporalType temporalType, Date value) Less equal.lessThan
(double value) Less Then.lessThan
(long value) Less Then.Less Then.lessThan
(BigDecimal value) Less Then.lessThan
(Expression value) Less Then.lessThan
(TemporalType temporalType, Calendar value) Less Then.lessThan
(TemporalType temporalType, Date value) Less Then.Like.Like.Like.Like.Like.Like.The method for LOCATE function of query objects.The method for LOCATE function of query objects.locate
(String value, Expression index) The method for LOCATE function of query objects.locate
(Expression value) The method for LOCATE function of query objects.locate
(Expression value, int index) Locate.locate
(Expression value, Expression index) Locate.lower()
The method for LOWER function of query objects.multiply
(double value) The method for Multiply ( * ) multiplicative arithmetic expression of query objects.multiply
(long value) The method for Concat ( || ) additive arithmetic expression of query objects.multiply
(BigDecimal value) The method for Multiply ( * ) multiplicative arithmetic expression of query objects.multiply
(Expression value) The method for Multiply ( * ) multiplicative arithmetic expression of query objects.negate()
Negate.notBetween
(double low, double high) Not between.notBetween
(long low, long high) Not between.notBetween
(String low, String high) Not between.notBetween
(BigDecimal low, BigDecimal high) Not between.notBetween
(Expression low, Expression high) Not between.notBetween
(TemporalType temporalType, Calendar low, Calendar high) Not between.notBetween
(TemporalType temporalType, Date low, Date high) Not between.notEqual
(boolean value) Not equal.notEqual
(double value) Not equal.notEqual
(long value) Not equal.Not equal.notEqual
(BigDecimal value) Not equal.notEqual
(Expression value) Not equal.notEqual
(TemporalType temporalType, Calendar value) Not equal.notEqual
(TemporalType temporalType, Date value) Not equal.Not like.Not like.Not like.Not like.Not like.Not like.plus()
Plus.remainder
(double value) The method for Reminder ( % ) multiplicative arithmetic expression of query objects.remainder
(long value) The method for Reminder ( % ) multiplicative arithmetic expression of query objects.remainder
(BigDecimal value) The method for Reminder ( % ) multiplicative arithmetic expression of query objects.remainder
(Expression value) The method for Reminder ( % ) multiplicative arithmetic expression of query objects.sqrt()
The method for SQRT function of query objects.substring
(int index, int length) Substring.substring
(int index, Expression length) Substring.substring
(Expression index, int length) Substring.substring
(Expression index, Expression length) Substring.subtract
(double value) The method for Subtract ( - ) additive arithmetic expression of query objects.subtract
(long value) The method for Subtract ( - ) additive arithmetic expression of query objects.subtract
(BigDecimal value) The method for Subtract ( - ) additive arithmetic expression of query objects.subtract
(Expression value) The method for Subtract ( - ) additive arithmetic expression of query objects.trim()
Trim.trim
(char character) Trim.Trim.trim
(TrimSpecification trimSpecification) Trim.trim
(TrimSpecification trimSpecification, char character) Trim.trim
(TrimSpecification trimSpecification, Parameter character) Trim.upper()
The method for UPPER function of query objects..Methods inherited from interface org.castor.cpa.query.QueryObject
toString
-
Method Details
-
add
The method for Add arithmetic expression of query objects.- Parameters:
value
- The long value- Returns:
- The Expression of query objects
-
add
The method for Add ( + ) additive arithmetic expression of query objects.- Parameters:
value
- The double value- Returns:
- The Expression of query objects of query objects
-
add
The method for Add ( + ) additive arithmetic expression of query objects.- Parameters:
value
- The BigDecimal value- Returns:
- The Expression of query objects
-
add
The method for Add ( + ) additive arithmetic expression of query objects.- Parameters:
value
- The Expression value- Returns:
- The Expression of query objects
-
subtract
The method for Subtract ( - ) additive arithmetic expression of query objects.- Parameters:
value
- The long value- Returns:
- The Expression of query objects
-
subtract
The method for Subtract ( - ) additive arithmetic expression of query objects.- Parameters:
value
- The double value- Returns:
- The Expression of query objects
-
subtract
The method for Subtract ( - ) additive arithmetic expression of query objects.- Parameters:
value
- The BigDecimal value- Returns:
- The Expression of query objects
-
subtract
The method for Subtract ( - ) additive arithmetic expression of query objects.- Parameters:
value
- The Expression value- Returns:
- The Expression of query objects
-
concat
The method for Concat ( || ) additive arithmetic expression of query objects.- Parameters:
value
- The String value- Returns:
- The Expression of query objects
-
concat
The method for Concat ( || ) additive arithmetic expression of query objects.- Parameters:
value
- The Expression value- Returns:
- The Expression of query objects
-
multiply
The method for Concat ( || ) additive arithmetic expression of query objects.- Parameters:
value
- The long value- Returns:
- The Expression of query objects
-
multiply
The method for Multiply ( * ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The double value- Returns:
- The Expression of query objects
-
multiply
The method for Multiply ( * ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The BigDecimal value- Returns:
- The Expression of query objects
-
multiply
The method for Multiply ( * ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The Expression value- Returns:
- The Expression of query objects
-
divide
The method for Divide ( / ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The long value- Returns:
- The Expression of query objects
-
divide
The method for Divide ( / ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The double value- Returns:
- The Expression of query objects
-
divide
The method for Divide ( / ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The BigDecimal value- Returns:
- The Expression of query objects
-
divide
The method for Divide ( / ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The Expression value- Returns:
- The Expression of query objects
-
remainder
The method for Reminder ( % ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The long value- Returns:
- The Expression of query objects
-
remainder
The method for Reminder ( % ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The double value- Returns:
- The Expression of query objects
-
remainder
The method for Reminder ( % ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The BigDecimal value- Returns:
- The Expression of query objects
-
remainder
The method for Reminder ( % ) multiplicative arithmetic expression of query objects.- Parameters:
value
- The Expression value- Returns:
- The Expression of query objects
-
plus
Expression plus()Plus.- Returns:
- The Expression of query objects
-
negate
Expression negate()Negate.- Returns:
- The Expression of query objects
-
length
Function length()The method for LENGTH function of query objects.- Returns:
- The Function of query objects
-
abs
Function abs()The method for ABS function of query objects.- Returns:
- The Function of query objects
-
sqrt
Function sqrt()The method for SQRT function of query objects.- Returns:
- The Function of query objects
-
lower
Function lower()The method for LOWER function of query objects.- Returns:
- The Function of query objects
-
upper
Function upper()The method for UPPER function of query objects..- Returns:
- The Function of query objects
-
locate
The method for LOCATE function of query objects.- Parameters:
value
- The String value- Returns:
- The Function of query objects
-
locate
The method for LOCATE function of query objects.- Parameters:
value
- The Expression value- Returns:
- The Function of query objects
-
locate
The method for LOCATE function of query objects.- Parameters:
value
- The String valueindex
- The index- Returns:
- The Function of query objects
-
locate
The method for LOCATE function of query objects.- Parameters:
value
- The valueindex
- The index- Returns:
- The Function of query objects
-
locate
Locate.- Parameters:
value
- The valueindex
- The index- Returns:
- The Function of query objects
-
locate
Locate.- Parameters:
value
- The valueindex
- The index- Returns:
- The Function of query objects
-
substring
Substring.- Parameters:
index
- The indexlength
- The length- Returns:
- The Function of query objects
-
substring
Substring.- Parameters:
index
- The indexlength
- The length- Returns:
- The Function of query objects
-
substring
Substring.- Parameters:
index
- The indexlength
- The length- Returns:
- The Function of query objects
-
substring
Substring.- Parameters:
index
- The indexlength
- The length- Returns:
- The Function of query objects
-
trim
Function trim()Trim.- Returns:
- The Function of query objects
-
trim
Trim.- Parameters:
character
- The character- Returns:
- The Function of query objects
-
trim
Trim.- Parameters:
character
- The character- Returns:
- The Function of query objects
-
trim
Trim.- Parameters:
trimSpecification
- The trim specification- Returns:
- The Function of query objects
-
trim
Trim.- Parameters:
trimSpecification
- The trim specificationcharacter
- The character- Returns:
- The Function of query objects
-
trim
Trim.- Parameters:
trimSpecification
- The trim specificationcharacter
- The character- Returns:
- The Function of query objects
-
equal
Equal.- Parameters:
value
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
value
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
value
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
value
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
value
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
equal
Equal.- Parameters:
value
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
value
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
value
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
value
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
value
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
value
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
notEqual
Not equal.- Parameters:
value
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
value
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
value
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
value
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
value
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
lessThan
Less Then.- Parameters:
value
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
value
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
value
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
value
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
value
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
lessEqual
Less equal.- Parameters:
value
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
value
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
value
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
value
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
value
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
greaterEqual
Greater equal.- Parameters:
value
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
value
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
value
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
value
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
value
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
temporalType
- The temporal typevalue
- The value- Returns:
- The condition
-
greaterThan
Greater Then.- Parameters:
value
- The value- Returns:
- The condition
-
like
Like.- Parameters:
pattern
- The pattern- Returns:
- The condition
-
like
Like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
like
Like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
like
Like.- Parameters:
pattern
- The pattern- Returns:
- The condition
-
like
Like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
like
Like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
notLike
Not like.- Parameters:
pattern
- The pattern- Returns:
- The condition
-
notLike
Not like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
notLike
Not like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
notLike
Not like.- Parameters:
pattern
- The pattern- Returns:
- The condition
-
notLike
Not like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
notLike
Not like.- Parameters:
pattern
- The patternescape
- The escape- Returns:
- The condition
-
between
Between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
between
Between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
between
Between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
between
Between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
between
Between.- Parameters:
temporalType
- The temporal typelow
- The lowhigh
- The high- Returns:
- The condition
-
between
Between.- Parameters:
temporalType
- The temporal typelow
- The lowhigh
- The high- Returns:
- The condition
-
between
Between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
temporalType
- The temporal typelow
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
temporalType
- The temporal typelow
- The lowhigh
- The high- Returns:
- The condition
-
notBetween
Not between.- Parameters:
low
- The lowhigh
- The high- Returns:
- The condition
-