Class CollectionExpression

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

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

      • CollectionExpression

        public CollectionExpression()
      • CollectionExpression

        public CollectionExpression​(java.lang.Object newValue,
                                    Expression baseExpression)
    • Method Detail

      • valueFromObject

        public java.lang.Object valueFromObject​(java.lang.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
        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​(java.util.Map alreadyDone)
        INTERNAL: Used for cloning.
        Overrides:
        postCopyIn in class ConstantExpression