Class NSFetchRequestExpression

    • Constructor Detail

      • NSFetchRequestExpression

        protected NSFetchRequestExpression​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • expressionForAggregate

        @NotNull
        public static @NotNull NSExpression expressionForAggregate​(@NotNull
                                                                   @NotNull NSArray<? extends NSExpression> subexpressions)
      • expressionForAnyKey

        @NotNull
        public static @NotNull NSExpression expressionForAnyKey()
      • expressionForConditionalTrueExpressionFalseExpression

        @NotNull
        public static @NotNull NSExpression expressionForConditionalTrueExpressionFalseExpression​(@NotNull
                                                                                                  @NotNull NSPredicate predicate,
                                                                                                  @NotNull
                                                                                                  @NotNull NSExpression trueExpression,
                                                                                                  @NotNull
                                                                                                  @NotNull NSExpression falseExpression)
      • expressionForConstantValue

        @NotNull
        public static @NotNull NSExpression expressionForConstantValue​(@Nullable
                                                                       @Nullable java.lang.Object obj)
      • expressionForEvaluatedObject

        @NotNull
        public static @NotNull NSExpression expressionForEvaluatedObject()
      • expressionForFetchContextCountOnly

        @NotNull
        public static @NotNull NSExpression expressionForFetchContextCountOnly​(@NotNull
                                                                               @NotNull NSExpression fetch,
                                                                               @NotNull
                                                                               @NotNull NSExpression context,
                                                                               boolean countFlag)
        Returns an expression which will evaluate to the result of executing a fetch request on a context. The first argument must be an expression which evaluates to an NSFetchRequest *, and the second must be an expression which evaluates to an NSManagedObjectContext *. If the desired result is simply the count for the request, the "countOnly" argument should be YES.
      • expressionForFunctionArguments

        @NotNull
        public static @NotNull NSExpression expressionForFunctionArguments​(@NotNull
                                                                           @NotNull java.lang.String name,
                                                                           @NotNull
                                                                           @NotNull NSArray<?> parameters)
      • expressionForFunctionSelectorNameArguments

        @NotNull
        public static @NotNull NSExpression expressionForFunctionSelectorNameArguments​(@NotNull
                                                                                       @NotNull NSExpression target,
                                                                                       @NotNull
                                                                                       @NotNull java.lang.String name,
                                                                                       @Nullable
                                                                                       @Nullable NSArray<?> parameters)
      • expressionForIntersectSetWith

        @NotNull
        public static @NotNull NSExpression expressionForIntersectSetWith​(@NotNull
                                                                          @NotNull NSExpression left,
                                                                          @NotNull
                                                                          @NotNull NSExpression right)
      • expressionForKeyPath

        @NotNull
        public static @NotNull NSExpression expressionForKeyPath​(@NotNull
                                                                 @NotNull java.lang.String keyPath)
      • expressionForMinusSetWith

        @NotNull
        public static @NotNull NSExpression expressionForMinusSetWith​(@NotNull
                                                                      @NotNull NSExpression left,
                                                                      @NotNull
                                                                      @NotNull NSExpression right)
      • expressionForSubqueryUsingIteratorVariablePredicate

        @NotNull
        public static @NotNull NSExpression expressionForSubqueryUsingIteratorVariablePredicate​(@NotNull
                                                                                                @NotNull NSExpression expression,
                                                                                                @NotNull
                                                                                                @NotNull java.lang.String variable,
                                                                                                @NotNull
                                                                                                @NotNull NSPredicate predicate)
      • expressionForUnionSetWith

        @NotNull
        public static @NotNull NSExpression expressionForUnionSetWith​(@NotNull
                                                                      @NotNull NSExpression left,
                                                                      @NotNull
                                                                      @NotNull NSExpression right)
      • expressionForVariable

        @NotNull
        public static @NotNull NSExpression expressionForVariable​(@NotNull
                                                                  @NotNull java.lang.String string)
      • expressionWithFormat

        @NotNull
        public static @NotNull NSExpression expressionWithFormat​(@NotNull
                                                                 @NotNull java.lang.String expressionFormat,
                                                                 java.lang.Object... varargs)
      • expressionWithFormatArgumentArray

        @NotNull
        public static @NotNull NSExpression expressionWithFormatArgumentArray​(@NotNull
                                                                              @NotNull java.lang.String expressionFormat,
                                                                              @NotNull
                                                                              @NotNull NSArray<?> arguments)
      • expressionWithFormatArguments

        @NotNull
        public static @NotNull NSExpression expressionWithFormatArguments​(@NotNull
                                                                          @NotNull java.lang.String expressionFormat,
                                                                          org.moe.natj.general.ptr.BytePtr argList)
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • contextExpression

        @NotNull
        public @NotNull NSExpression contextExpression()
        Returns the expression for the managed object context: evaluating it must return an NSManagedObjectContext *.
      • isCountOnlyRequest

        public boolean isCountOnlyRequest()
        Boolean indicating if the request will return object values or merely the count. If the value returns NO, the managed object context (from the contextExpression) will perform executeFetchRequest:error: with the requestExpression; if the value returns YES, the managed object context will perform countForFetchRequest:error with the requestExpression.
      • requestExpression

        @NotNull
        public @NotNull NSExpression requestExpression()
        Returns the expression for the fetch request: evaluating it must return an NSFetchRequest *.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class NSExpression
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.