org.odata4j.expression
Class Expression
java.lang.Object
org.odata4j.expression.Expression
public class Expression
- extends Object
Method Summary |
static AddExpression |
add(CommonExpression lhs,
CommonExpression rhs)
|
static AndExpression |
and(BoolCommonExpression lhs,
BoolCommonExpression rhs)
|
static BinaryLiteral |
binary(byte[] value)
|
static BooleanLiteral |
boolean_(boolean value)
|
static CastExpression |
cast(CommonExpression expression,
String type)
|
static CastExpression |
cast(String type)
|
static CeilingMethodCallExpression |
ceiling(CommonExpression target)
|
static ConcatMethodCallExpression |
concat(CommonExpression lhs,
CommonExpression rhs)
|
static DateTimeLiteral |
dateTime(LocalDateTime value)
|
static DateTimeOffsetLiteral |
dateTimeOffset(DateTime value)
|
static DayMethodCallExpression |
day(CommonExpression target)
|
static DecimalLiteral |
decimal(BigDecimal value)
|
static DivExpression |
div(CommonExpression lhs,
CommonExpression rhs)
|
static DoubleLiteral |
double_(double value)
|
static EndsWithMethodCallExpression |
endsWith(CommonExpression target,
CommonExpression value)
|
static EqExpression |
eq(CommonExpression lhs,
CommonExpression rhs)
|
static FloorMethodCallExpression |
floor(CommonExpression target)
|
static GeExpression |
ge(CommonExpression lhs,
CommonExpression rhs)
|
static GtExpression |
gt(CommonExpression lhs,
CommonExpression rhs)
|
static GuidLiteral |
guid(Guid value)
|
static HourMethodCallExpression |
hour(CommonExpression target)
|
static IndexOfMethodCallExpression |
indexOf(CommonExpression target,
CommonExpression value)
|
static Int64Literal |
int64(long value)
|
static IntegralLiteral |
integral(int value)
|
static IsofExpression |
isof(CommonExpression expression,
String type)
|
static IsofExpression |
isof(String type)
|
static LeExpression |
le(CommonExpression lhs,
CommonExpression rhs)
|
static LengthMethodCallExpression |
length(CommonExpression target)
|
static Object |
literalValue(LiteralExpression expression)
|
static LtExpression |
lt(CommonExpression lhs,
CommonExpression rhs)
|
static MinuteMethodCallExpression |
minute(CommonExpression target)
|
static ModExpression |
mod(CommonExpression lhs,
CommonExpression rhs)
|
static MonthMethodCallExpression |
month(CommonExpression target)
|
static MulExpression |
mul(CommonExpression lhs,
CommonExpression rhs)
|
static NeExpression |
ne(CommonExpression lhs,
CommonExpression rhs)
|
static NegateExpression |
negate(CommonExpression expression)
|
static NotExpression |
not(CommonExpression expression)
|
static NullLiteral |
null_()
|
static OrExpression |
or(BoolCommonExpression lhs,
BoolCommonExpression rhs)
|
static OrderByExpression |
orderBy(CommonExpression expression,
boolean isAscending)
|
static ParenExpression |
paren(CommonExpression expression)
|
static ReplaceMethodCallExpression |
replace(CommonExpression target,
CommonExpression find,
CommonExpression replace)
|
static RoundMethodCallExpression |
round(CommonExpression target)
|
static SecondMethodCallExpression |
second(CommonExpression target)
|
static EntitySimpleProperty |
simpleProperty(String propertyName)
|
static SingleLiteral |
single(float value)
|
static StartsWithMethodCallExpression |
startsWith(CommonExpression target,
CommonExpression value)
|
static StringLiteral |
string(String value)
|
static SubExpression |
sub(CommonExpression lhs,
CommonExpression rhs)
|
static SubstringMethodCallExpression |
substring(CommonExpression target,
CommonExpression start)
|
static SubstringMethodCallExpression |
substring(CommonExpression target,
CommonExpression start,
CommonExpression length)
|
static SubstringOfMethodCallExpression |
substringOf(CommonExpression value)
|
static SubstringOfMethodCallExpression |
substringOf(CommonExpression value,
CommonExpression target)
|
static TimeLiteral |
time(LocalTime value)
|
static ToLowerMethodCallExpression |
toLower(CommonExpression target)
|
static ToUpperMethodCallExpression |
toUpper(CommonExpression target)
|
static TrimMethodCallExpression |
trim(CommonExpression target)
|
static void |
visit(CommonExpression expr,
ExpressionVisitor visitor)
|
static YearMethodCallExpression |
year(CommonExpression target)
|
Expression
public Expression()
add
public static AddExpression add(CommonExpression lhs,
CommonExpression rhs)
and
public static AndExpression and(BoolCommonExpression lhs,
BoolCommonExpression rhs)
binary
public static BinaryLiteral binary(byte[] value)
boolean_
public static BooleanLiteral boolean_(boolean value)
cast
public static CastExpression cast(CommonExpression expression,
String type)
cast
public static CastExpression cast(String type)
ceiling
public static CeilingMethodCallExpression ceiling(CommonExpression target)
concat
public static ConcatMethodCallExpression concat(CommonExpression lhs,
CommonExpression rhs)
dateTime
public static DateTimeLiteral dateTime(LocalDateTime value)
dateTimeOffset
public static DateTimeOffsetLiteral dateTimeOffset(DateTime value)
day
public static DayMethodCallExpression day(CommonExpression target)
decimal
public static DecimalLiteral decimal(BigDecimal value)
div
public static DivExpression div(CommonExpression lhs,
CommonExpression rhs)
double_
public static DoubleLiteral double_(double value)
endsWith
public static EndsWithMethodCallExpression endsWith(CommonExpression target,
CommonExpression value)
eq
public static EqExpression eq(CommonExpression lhs,
CommonExpression rhs)
floor
public static FloorMethodCallExpression floor(CommonExpression target)
ge
public static GeExpression ge(CommonExpression lhs,
CommonExpression rhs)
gt
public static GtExpression gt(CommonExpression lhs,
CommonExpression rhs)
guid
public static GuidLiteral guid(Guid value)
hour
public static HourMethodCallExpression hour(CommonExpression target)
indexOf
public static IndexOfMethodCallExpression indexOf(CommonExpression target,
CommonExpression value)
int64
public static Int64Literal int64(long value)
integral
public static IntegralLiteral integral(int value)
isof
public static IsofExpression isof(CommonExpression expression,
String type)
isof
public static IsofExpression isof(String type)
le
public static LeExpression le(CommonExpression lhs,
CommonExpression rhs)
length
public static LengthMethodCallExpression length(CommonExpression target)
literalValue
public static Object literalValue(LiteralExpression expression)
lt
public static LtExpression lt(CommonExpression lhs,
CommonExpression rhs)
minute
public static MinuteMethodCallExpression minute(CommonExpression target)
mod
public static ModExpression mod(CommonExpression lhs,
CommonExpression rhs)
month
public static MonthMethodCallExpression month(CommonExpression target)
mul
public static MulExpression mul(CommonExpression lhs,
CommonExpression rhs)
ne
public static NeExpression ne(CommonExpression lhs,
CommonExpression rhs)
negate
public static NegateExpression negate(CommonExpression expression)
not
public static NotExpression not(CommonExpression expression)
null_
public static NullLiteral null_()
or
public static OrExpression or(BoolCommonExpression lhs,
BoolCommonExpression rhs)
orderBy
public static OrderByExpression orderBy(CommonExpression expression,
boolean isAscending)
paren
public static ParenExpression paren(CommonExpression expression)
replace
public static ReplaceMethodCallExpression replace(CommonExpression target,
CommonExpression find,
CommonExpression replace)
round
public static RoundMethodCallExpression round(CommonExpression target)
second
public static SecondMethodCallExpression second(CommonExpression target)
simpleProperty
public static EntitySimpleProperty simpleProperty(String propertyName)
single
public static SingleLiteral single(float value)
startsWith
public static StartsWithMethodCallExpression startsWith(CommonExpression target,
CommonExpression value)
string
public static StringLiteral string(String value)
sub
public static SubExpression sub(CommonExpression lhs,
CommonExpression rhs)
substring
public static SubstringMethodCallExpression substring(CommonExpression target,
CommonExpression start)
substring
public static SubstringMethodCallExpression substring(CommonExpression target,
CommonExpression start,
CommonExpression length)
substringOf
public static SubstringOfMethodCallExpression substringOf(CommonExpression value)
substringOf
public static SubstringOfMethodCallExpression substringOf(CommonExpression value,
CommonExpression target)
time
public static TimeLiteral time(LocalTime value)
toLower
public static ToLowerMethodCallExpression toLower(CommonExpression target)
toUpper
public static ToUpperMethodCallExpression toUpper(CommonExpression target)
trim
public static TrimMethodCallExpression trim(CommonExpression target)
visit
public static void visit(CommonExpression expr,
ExpressionVisitor visitor)
year
public static YearMethodCallExpression year(CommonExpression target)
http://odata4j.org