Class NSExpressionType


  • public final class NSExpressionType
    extends java.lang.Object
    Expressions are the core of the predicate implementation. When expressionValueWithObject: is called, the expression is evaluated, and a value returned which can then be handled by an operator. Expressions can be anything from constants to method invocations. Scalars should be wrapped in appropriate NSValue classes.
    • Field Detail

      • ConstantValueExpressionType

        public static final long ConstantValueExpressionType
        Expression that always returns the same value
        See Also:
        Constant Field Values
      • EvaluatedObjectExpressionType

        public static final long EvaluatedObjectExpressionType
        Expression that always returns the parameter object itself
        See Also:
        Constant Field Values
      • VariableExpressionType

        public static final long VariableExpressionType
        Expression that always returns whatever is stored at 'variable' in the bindings dictionary
        See Also:
        Constant Field Values
      • KeyPathExpressionType

        public static final long KeyPathExpressionType
        Expression that returns something that can be used as a key path
        See Also:
        Constant Field Values
      • FunctionExpressionType

        public static final long FunctionExpressionType
        Expression that returns the result of evaluating a symbol
        See Also:
        Constant Field Values
      • UnionSetExpressionType

        public static final long UnionSetExpressionType
        Expression that returns the result of doing a unionSet: on two expressions that evaluate to flat collections (arrays or sets)
        See Also:
        Constant Field Values
      • IntersectSetExpressionType

        public static final long IntersectSetExpressionType
        Expression that returns the result of doing an intersectSet: on two expressions that evaluate to flat collections (arrays or sets)
        See Also:
        Constant Field Values
      • MinusSetExpressionType

        public static final long MinusSetExpressionType
        Expression that returns the result of doing a minusSet: on two expressions that evaluate to flat collections (arrays or sets)
        See Also:
        Constant Field Values
      • SubqueryExpressionType

        public static final long SubqueryExpressionType
        See Also:
        Constant Field Values
      • AggregateExpressionType

        public static final long AggregateExpressionType
        See Also:
        Constant Field Values
      • ConditionalExpressionType

        public static final long ConditionalExpressionType
        See Also:
        Constant Field Values