Class ASTBitwiseLeftShift

All Implemented Interfaces:
Serializable, Node, XMLSerializable

public class ASTBitwiseLeftShift extends EvaluatedBitwiseNode
Bitwise left shift '<<' operation.
Since:
4.0
See Also:
  • Constructor Details

    • ASTBitwiseLeftShift

      public ASTBitwiseLeftShift()
    • ASTBitwiseLeftShift

      public ASTBitwiseLeftShift(Object[] nodes)
    • ASTBitwiseLeftShift

      public ASTBitwiseLeftShift(Collection<Object> nodes)
  • Method Details

    • op

      protected long op(long result, long arg)
      Specified by:
      op in class EvaluatedBitwiseNode
    • getExpressionOperator

      protected String getExpressionOperator(int index)
      Specified by:
      getExpressionOperator in class SimpleNode
    • getType

      public int getType()
      Description copied from class: Expression
      Returns a type of expression. Most common types are defined as public static fields of this interface.
      Overrides:
      getType in class Expression
    • getEJBQLExpressionOperator

      protected String getEJBQLExpressionOperator(int index)
      Description copied from class: SimpleNode
      Returns operator for EJBQL statements, which can differ for Cayenne expression operator
      Overrides:
      getEJBQLExpressionOperator in class SimpleNode
    • shallowCopy

      public Expression shallowCopy()
      Description copied from class: Expression
      Creates a copy of this expression node, without copying children.
      Specified by:
      shallowCopy in class Expression
    • jjtClose

      public void jjtClose()
      Description copied from interface: Node
      Called after all the child nodes have been added.
      Specified by:
      jjtClose in interface Node
      Overrides:
      jjtClose in class SimpleNode