Class BitwiseLeftShiftExp
java.lang.Object
org.apache.cayenne.exp.Expression
org.apache.cayenne.exp.ValueExp
org.apache.cayenne.exp.BitwiseExp
org.apache.cayenne.exp.BitwiseLeftShiftExp
- All Implemented Interfaces:
XMLSerializable
Bitwise left shift '<<' operation.
- Since:
- 5.0
-
Field Summary
Fields inherited from class Expression
operands, PRUNED_NODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetExpressionOperator(int index) Returns the operator printed between the operands, before the operand at the given index.protected longop(long result, long arg) voidsetOperands(Object... operands) Replaces all the operands of this node with the given ones.Creates a copy of this expression node, without copying children.Methods inherited from class BitwiseExp
evaluateSubNode, getRequiredChildrenCountMethods inherited from class ValueExp
evaluateNodeMethods inherited from class Expression
andExp, andExp, appendAsString, appendOperandAsString, deepCopy, encodeAsXML, equals, evaluate, evaluateOperand, exists, expName, filter, filterObjects, first, flattenTree, getOperand, getOperandCount, getPathAliases, hashCode, isValidParent, match, notExists, notExp, orExp, orExp, params, params, paramsArray, parenthesizeAsOperand, pruneNodeForPrunedChild, setOperand, toString, transform, transformExpression, traverse, traverse
-
Constructor Details
-
BitwiseLeftShiftExp
-
-
Method Details
-
op
protected long op(long result, long arg) - Specified by:
opin classBitwiseExp
-
getExpressionOperator
Description copied from class:ExpressionReturns the operator printed between the operands, before the operand at the given index.- Specified by:
getExpressionOperatorin classExpression
-
shallowCopy
Description copied from class:ExpressionCreates a copy of this expression node, without copying children.- Specified by:
shallowCopyin classExpression
-
setOperands
Description copied from class:ExpressionReplaces all the operands of this node with the given ones. Called by the constructor and by the parser once all the operands of a node are known, so a node that post-processes its operands overrides this method.- Overrides:
setOperandsin classExpression
-