All Implemented Interfaces:
Serializable, Cloneable

public class CollectionExpression extends ConstantExpression
Used for wrapping collection of values or expressions.
See Also:
  • Constructor Details

    • CollectionExpression

      public CollectionExpression()
    • CollectionExpression

      public CollectionExpression(Object newValue, Expression baseExpression)
  • Method Details

    • printSQL

      public void printSQL(ExpressionSQLPrinter printer)
      Description copied from class: ConstantExpression
      INTERNAL: Print SQL onto the stream, using the ExpressionPrinter for context
      Overrides:
      printSQL in class ConstantExpression
    • valueFromObject

      public Object valueFromObject(Object object, AbstractSession session, AbstractRecord translationRow, int valueHolderPolicy, boolean isObjectUnregistered)
      INTERNAL: Return the value for in memory comparison. This is only valid for valueable expressions.
      Overrides:
      valueFromObject in class ConstantExpression
      Parameters:
      isObjectUnregistered - true if object possibly not a clone, but is being conformed against the unit of work cache.
    • setLocalBase

      public void setLocalBase(Expression e)
      Description copied from class: Expression
      INTERNAL: Set the local base expression, ie the one on the other side of the operator Most types will ignore this, since they don't need it.
      Overrides:
      setLocalBase in class ConstantExpression
    • postCopyIn

      protected void postCopyIn(Map alreadyDone)
      INTERNAL: Used for cloning.
      Overrides:
      postCopyIn in class ConstantExpression