Package | Description |
---|---|
net.hydromatic.linq4j.expressions |
Object model for Java expressions.
|
Modifier and Type | Method and Description |
---|---|
static BinaryExpression |
Expressions.add(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
addition operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.add(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
addition operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.addAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents an addition
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.addAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an addition
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.addAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaLeft,
LambdaExpression lambdaRight)
Creates a BinaryExpression that represents an addition
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.addAssignChecked(Expression left,
Expression right)
Creates a BinaryExpression that represents an addition
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.addAssignChecked(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an addition
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.addAssignChecked(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents an addition
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.addChecked(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
addition operation that has overflow checking.
|
static BinaryExpression |
Expressions.addChecked(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
addition operation that has overflow checking.
|
static BinaryExpression |
Expressions.and(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise AND
operation.
|
static BinaryExpression |
Expressions.and(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise AND
operation.
|
static BinaryExpression |
Expressions.andAlso(Expression left,
Expression right)
Creates a BinaryExpression that represents a conditional AND
operation that evaluates the second operand only if the first
operand evaluates to true.
|
static BinaryExpression |
Expressions.andAlso(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a conditional AND
operation that evaluates the second operand only if the first
operand is resolved to true.
|
static BinaryExpression |
Expressions.andAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise AND
assignment operation.
|
static BinaryExpression |
Expressions.andAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise AND
assignment operation.
|
static BinaryExpression |
Expressions.andAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a bitwise AND
assignment operation.
|
static BinaryExpression |
Expressions.assign(Expression left,
Expression right)
Creates a BinaryExpression that represents an assignment
operation.
|
static BinaryExpression |
Expressions.coalesce(Expression left,
Expression right)
Creates a BinaryExpression that represents a coalescing
operation.
|
static BinaryExpression |
Expressions.coalesce(Expression left,
Expression right,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a coalescing
operation, given a conversion function.
|
static BinaryExpression |
Expressions.divide(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
division operation.
|
static BinaryExpression |
Expressions.divide(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
division operation.
|
static BinaryExpression |
Expressions.divideAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a division
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.divideAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a division
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.divideAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a division
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.equal(Expression left,
Expression right)
Creates a BinaryExpression that represents an equality
comparison.
|
static BinaryExpression |
Expressions.equal(Expression expression0,
Expression expression1,
boolean liftToNull,
Method method)
Creates a BinaryExpression that represents an equality
comparison.
|
static BinaryExpression |
Expressions.exclusiveOr(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise XOR
operation, using op_ExclusiveOr for user-defined types.
|
static BinaryExpression |
Expressions.exclusiveOr(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise XOR
operation, using op_ExclusiveOr for user-defined types.
|
static BinaryExpression |
Expressions.exclusiveOrAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise XOR
assignment operation, using op_ExclusiveOr for user-defined
types.
|
static BinaryExpression |
Expressions.exclusiveOrAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise XOR
assignment operation, using op_ExclusiveOr for user-defined
types.
|
static BinaryExpression |
Expressions.exclusiveOrAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a bitwise XOR
assignment operation, using op_ExclusiveOr for user-defined
types.
|
static BinaryExpression |
Expressions.greaterThan(Expression left,
Expression right)
Creates a BinaryExpression that represents a "greater than"
numeric comparison.
|
static BinaryExpression |
Expressions.greaterThan(Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression that represents a "greater than"
numeric comparison.
|
static BinaryExpression |
Expressions.greaterThanOrEqual(Expression left,
Expression right)
Creates a BinaryExpression that represents a "greater than or
equal" numeric comparison.
|
static BinaryExpression |
Expressions.greaterThanOrEqual(Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression that represents a "greater than or
equal" numeric comparison.
|
static BinaryExpression |
Expressions.leftShift(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise
left-shift operation.
|
static BinaryExpression |
Expressions.leftShift(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise
left-shift operation.
|
static BinaryExpression |
Expressions.leftShiftAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise
left-shift assignment operation.
|
static BinaryExpression |
Expressions.leftShiftAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise
left-shift assignment operation.
|
static BinaryExpression |
Expressions.leftShiftAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a bitwise
left-shift assignment operation.
|
static BinaryExpression |
Expressions.lessThan(Expression left,
Expression right)
Creates a BinaryExpression that represents a "less than"
numeric comparison.
|
static BinaryExpression |
Expressions.lessThan(Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression that represents a "less than"
numeric comparison.
|
static BinaryExpression |
Expressions.lessThanOrEqual(Expression left,
Expression right)
Creates a BinaryExpression that represents a " less than or
equal" numeric comparison.
|
static BinaryExpression |
Expressions.lessThanOrEqual(Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression that represents a "less than or
equal" numeric comparison.
|
static BinaryExpression |
Expressions.makeBinary(ExpressionType binaryType,
Expression left,
Expression right)
Creates a BinaryExpression, given the left and right operands,
by calling an appropriate factory method.
|
static BinaryExpression |
Expressions.makeBinary(ExpressionType binaryType,
Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression, given the left operand, right
operand and implementing method, by calling the appropriate
factory method.
|
static BinaryExpression |
Expressions.makeBinary(ExpressionType binaryType,
Expression left,
Expression right,
boolean liftToNull,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression, given the left operand, right
operand, implementing method and type conversion function, by
calling the appropriate factory method.
|
static BinaryExpression |
Expressions.modulo(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
remainder operation.
|
static BinaryExpression |
Expressions.modulo(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
remainder operation.
|
static BinaryExpression |
Expressions.moduloAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a remainder
assignment operation.
|
static BinaryExpression |
Expressions.moduloAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a remainder
assignment operation.
|
static BinaryExpression |
Expressions.moduloAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a remainder
assignment operation.
|
static BinaryExpression |
Expressions.multiply(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
multiplication operation that does not have overflow
checking.
|
static BinaryExpression |
Expressions.multiply(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
multiplication operation that does not have overflow
checking.
|
static BinaryExpression |
Expressions.multiplyAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a multiplication
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.multiplyAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a multiplication
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.multiplyAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a multiplication
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.multiplyAssignChecked(Expression left,
Expression right)
Creates a BinaryExpression that represents a multiplication
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.multiplyAssignChecked(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a multiplication
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.multiplyAssignChecked(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a multiplication
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.multiplyChecked(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
multiplication operation that has overflow checking.
|
static BinaryExpression |
Expressions.multiplyChecked(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
multiplication operation that has overflow checking.
|
static BinaryExpression |
Expressions.notEqual(Expression left,
Expression right)
Creates a BinaryExpression that represents an inequality
comparison.
|
static BinaryExpression |
Expressions.notEqual(Expression left,
Expression right,
boolean liftToNull,
Method method)
Creates a BinaryExpression that represents an inequality
comparison.
|
static BinaryExpression |
Expressions.or(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise OR
operation.
|
static BinaryExpression |
Expressions.or(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise OR
operation.
|
static BinaryExpression |
Expressions.orAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise OR
assignment operation.
|
static BinaryExpression |
Expressions.orAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise OR
assignment operation.
|
static BinaryExpression |
Expressions.orAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a bitwise OR
assignment operation.
|
static BinaryExpression |
Expressions.orElse(Expression left,
Expression right)
Creates a BinaryExpression that represents a conditional OR
operation that evaluates the second operand only if the first
operand evaluates to false.
|
static BinaryExpression |
Expressions.orElse(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a conditional OR
operation that evaluates the second operand only if the first
operand evaluates to false.
|
static BinaryExpression |
Expressions.power(Expression left,
Expression right)
Creates a BinaryExpression that represents raising a number to
a power.
|
static BinaryExpression |
Expressions.power(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents raising a number to
a power.
|
static BinaryExpression |
Expressions.powerAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents raising an
expression to a power and assigning the result back to the
expression.
|
static BinaryExpression |
Expressions.powerAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents raising an
expression to a power and assigning the result back to the
expression.
|
static BinaryExpression |
Expressions.powerAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents raising an
expression to a power and assigning the result back to the
expression.
|
static BinaryExpression |
Expressions.rightShift(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise
right-shift operation.
|
static BinaryExpression |
Expressions.rightShift(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise
right-shift operation.
|
static BinaryExpression |
Expressions.rightShiftAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a bitwise
right-shift assignment operation.
|
static BinaryExpression |
Expressions.rightShiftAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a bitwise
right-shift assignment operation.
|
static BinaryExpression |
Expressions.rightShiftAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a bitwise
right-shift assignment operation.
|
static BinaryExpression |
Expressions.subtract(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
subtraction operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.subtract(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
subtraction operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.subtractAssign(Expression left,
Expression right)
Creates a BinaryExpression that represents a subtraction
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.subtractAssign(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a subtraction
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.subtractAssign(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a subtraction
assignment operation that does not have overflow checking.
|
static BinaryExpression |
Expressions.subtractAssignChecked(Expression left,
Expression right)
Creates a BinaryExpression that represents a subtraction
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.subtractAssignChecked(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents a subtraction
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.subtractAssignChecked(Expression left,
Expression right,
Method method,
LambdaExpression lambdaExpression)
Creates a BinaryExpression that represents a subtraction
assignment operation that has overflow checking.
|
static BinaryExpression |
Expressions.subtractChecked(Expression left,
Expression right)
Creates a BinaryExpression that represents an arithmetic
subtraction operation that has overflow checking.
|
static BinaryExpression |
Expressions.subtractChecked(Expression left,
Expression right,
Method method)
Creates a BinaryExpression that represents an arithmetic
subtraction operation that has overflow checking.
|
Modifier and Type | Method and Description |
---|---|
Visitor |
Visitor.preVisit(BinaryExpression binaryExpression) |
Expression |
DeterministicCodeOptimizer.visit(BinaryExpression binaryExpression,
Expression expression0,
Expression expression1) |
Expression |
OptimizeVisitor.visit(BinaryExpression binary,
Expression expression0,
Expression expression1) |
Expression |
Visitor.visit(BinaryExpression binaryExpression,
Expression expression0,
Expression expression1) |
Copyright © 2012-2014 Julian Hyde. All Rights Reserved.