public class

Expression

extends Object
java.lang.Object
   ↳ org.odata4j.expression.Expression

Summary

Public Methods
static AddExpression add(CommonExpression lhs, CommonExpression rhs)
static AggregateBoolFunction aggregate(ExpressionParser.AggregateFunction function, CommonExpression source, String var, BoolCommonExpression predicate)
static AggregateAllFunction all(CommonExpression source, String var, BoolCommonExpression predicate)
static AndExpression and(BoolCommonExpression lhs, BoolCommonExpression rhs)
static AggregateAnyFunction any(CommonExpression source)
static AggregateAnyFunction any(CommonExpression source, String var, BoolCommonExpression predicate)
static String asFilterString(CommonExpression expr)
static String asPrintString(CommonExpression expr)
static BinaryLiteral binary(byte[] value)
static BoolParenExpression boolParen(CommonExpression expression)
static BooleanLiteral boolean_(boolean value)
static ByteLiteral byte_(UnsignedByte value)
static CastExpression cast(String type)
static CastExpression cast(CommonExpression expression, 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(String type)
static IsofExpression isof(CommonExpression expression, String type)
static LeExpression le(CommonExpression lhs, CommonExpression rhs)
static LengthMethodCallExpression length(CommonExpression target)
static LiteralExpression literal(Object value)
static LiteralExpression literal(EdmSimpleType<?> edmType, Object value)
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, OrderByExpression.Direction direction)
static ParenExpression paren(CommonExpression expression)
static CommonExpression parse(String value)
static ReplaceMethodCallExpression replace(CommonExpression target, CommonExpression find, CommonExpression replace)
static RoundMethodCallExpression round(CommonExpression target)
static SByteLiteral sbyte_(byte value)
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, CommonExpression length)
static SubstringMethodCallExpression substring(CommonExpression target, CommonExpression start)
static SubstringOfMethodCallExpression substringOf(CommonExpression value, CommonExpression target)
static SubstringOfMethodCallExpression substringOf(CommonExpression value)
static TimeLiteral time(LocalTime value)
static ToLowerMethodCallExpression toLower(CommonExpression target)
static ToUpperMethodCallExpression toUpper(CommonExpression target)
static TrimMethodCallExpression trim(CommonExpression target)
static YearMethodCallExpression year(CommonExpression target)
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static AddExpression add (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static AggregateBoolFunction aggregate (ExpressionParser.AggregateFunction function, CommonExpression source, String var, BoolCommonExpression predicate)

Parameters
function
source
var
predicate

public static AggregateAllFunction all (CommonExpression source, String var, BoolCommonExpression predicate)

Parameters
source
var
predicate

public static AndExpression and (BoolCommonExpression lhs, BoolCommonExpression rhs)

Parameters
lhs
rhs

public static AggregateAnyFunction any (CommonExpression source)

Parameters
source

public static AggregateAnyFunction any (CommonExpression source, String var, BoolCommonExpression predicate)

Parameters
source
var
predicate

public static String asFilterString (CommonExpression expr)

Parameters
expr

public static String asPrintString (CommonExpression expr)

Parameters
expr

public static BinaryLiteral binary (byte[] value)

Parameters
value

public static BoolParenExpression boolParen (CommonExpression expression)

Parameters
expression

public static BooleanLiteral boolean_ (boolean value)

Parameters
value

public static ByteLiteral byte_ (UnsignedByte value)

Parameters
value

public static CastExpression cast (String type)

Parameters
type

public static CastExpression cast (CommonExpression expression, String type)

Parameters
expression
type

public static CeilingMethodCallExpression ceiling (CommonExpression target)

Parameters
target

public static ConcatMethodCallExpression concat (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static DateTimeLiteral dateTime (LocalDateTime value)

Parameters
value

public static DateTimeOffsetLiteral dateTimeOffset (DateTime value)

Parameters
value

public static DayMethodCallExpression day (CommonExpression target)

Parameters
target

public static DecimalLiteral decimal (BigDecimal value)

Parameters
value

public static DivExpression div (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static DoubleLiteral double_ (double value)

Parameters
value

public static EndsWithMethodCallExpression endsWith (CommonExpression target, CommonExpression value)

Parameters
target
value

public static EqExpression eq (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static FloorMethodCallExpression floor (CommonExpression target)

Parameters
target

public static GeExpression ge (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static GtExpression gt (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static GuidLiteral guid (Guid value)

Parameters
value

public static HourMethodCallExpression hour (CommonExpression target)

Parameters
target

public static IndexOfMethodCallExpression indexOf (CommonExpression target, CommonExpression value)

Parameters
target
value

public static Int64Literal int64 (long value)

Parameters
value

public static IntegralLiteral integral (int value)

Parameters
value

public static IsofExpression isof (String type)

Parameters
type

public static IsofExpression isof (CommonExpression expression, String type)

Parameters
expression
type

public static LeExpression le (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static LengthMethodCallExpression length (CommonExpression target)

Parameters
target

public static LiteralExpression literal (Object value)

Parameters
value

public static LiteralExpression literal (EdmSimpleType<?> edmType, Object value)

Parameters
edmType
value

public static Object literalValue (LiteralExpression expression)

Parameters
expression

public static LtExpression lt (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static MinuteMethodCallExpression minute (CommonExpression target)

Parameters
target

public static ModExpression mod (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static MonthMethodCallExpression month (CommonExpression target)

Parameters
target

public static MulExpression mul (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static NeExpression ne (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static NegateExpression negate (CommonExpression expression)

Parameters
expression

public static NotExpression not (CommonExpression expression)

Parameters
expression

public static NullLiteral null_ ()

public static OrExpression or (BoolCommonExpression lhs, BoolCommonExpression rhs)

Parameters
lhs
rhs

public static OrderByExpression orderBy (CommonExpression expression, OrderByExpression.Direction direction)

Parameters
expression
direction

public static ParenExpression paren (CommonExpression expression)

Parameters
expression

public static CommonExpression parse (String value)

Parameters
value

public static ReplaceMethodCallExpression replace (CommonExpression target, CommonExpression find, CommonExpression replace)

Parameters
target
find
replace

public static RoundMethodCallExpression round (CommonExpression target)

Parameters
target

public static SByteLiteral sbyte_ (byte value)

Parameters
value

public static SecondMethodCallExpression second (CommonExpression target)

Parameters
target

public static EntitySimpleProperty simpleProperty (String propertyName)

Parameters
propertyName

public static SingleLiteral single (float value)

Parameters
value

public static StartsWithMethodCallExpression startsWith (CommonExpression target, CommonExpression value)

Parameters
target
value

public static StringLiteral string (String value)

Parameters
value

public static SubExpression sub (CommonExpression lhs, CommonExpression rhs)

Parameters
lhs
rhs

public static SubstringMethodCallExpression substring (CommonExpression target, CommonExpression start, CommonExpression length)

Parameters
target
start
length

public static SubstringMethodCallExpression substring (CommonExpression target, CommonExpression start)

Parameters
target
start

public static SubstringOfMethodCallExpression substringOf (CommonExpression value, CommonExpression target)

Parameters
value
target

public static SubstringOfMethodCallExpression substringOf (CommonExpression value)

Parameters
value

public static TimeLiteral time (LocalTime value)

Parameters
value

public static ToLowerMethodCallExpression toLower (CommonExpression target)

Parameters
target

public static ToUpperMethodCallExpression toUpper (CommonExpression target)

Parameters
target

public static TrimMethodCallExpression trim (CommonExpression target)

Parameters
target

public static YearMethodCallExpression year (CommonExpression target)

Parameters
target