Class CKDatabase

  • All Implemented Interfaces:
    NSObject

    public class CKDatabase
    extends NSObject
    This class should not be subclassed. If it is, Sendable may no longer apply. API-Since: 8.0
    • Constructor Detail

      • CKDatabase

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CKDatabase allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • 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()
      • version_static

        public static long version_static()
      • databaseScope

        public long databaseScope()
        API-Since: 10.0
      • fetchAllRecordZonesWithCompletionHandler

        public void fetchAllRecordZonesWithCompletionHandler​(@NotNull
                                                             @NotNull CKDatabase.Block_fetchAllRecordZonesWithCompletionHandler completionHandler)
        [@c] CKFetchRecordZonesOperation and @c CKModifyRecordZonesOperation are the more configurable, @c CKOperation -based alternatives to these methods
      • fetchRecordWithIDCompletionHandler

        public void fetchRecordWithIDCompletionHandler​(@NotNull
                                                       @NotNull CKRecordID recordID,
                                                       @NotNull
                                                       @NotNull CKDatabase.Block_fetchRecordWithIDCompletionHandler completionHandler)
        [@c] CKFetchRecordsOperation and @c CKModifyRecordsOperation are the more configurable, @c CKOperation -based alternatives to these methods
      • fetchSubscriptionWithIDCompletionHandler

        public void fetchSubscriptionWithIDCompletionHandler​(@NotNull
                                                             @NotNull java.lang.String subscriptionID,
                                                             @NotNull
                                                             @NotNull CKDatabase.Block_fetchSubscriptionWithIDCompletionHandler completionHandler)
        [@c] CKFetchSubscriptionsOperation and @c CKModifySubscriptionsOperation are the more configurable, @c CKOperation -based alternative to these methods API-Since: 8.0
      • performQueryInZoneWithIDCompletionHandler

        public void performQueryInZoneWithIDCompletionHandler​(@NotNull
                                                              @NotNull CKQuery query,
                                                              @Nullable
                                                              @Nullable CKRecordZoneID zoneID,
                                                              @NotNull
                                                              @NotNull CKDatabase.Block_performQueryInZoneWithIDCompletionHandler completionHandler)
        [@c] CKQueryOperation is the more configurable, @c CKOperation -based alternative to this method Queries can potentially return a large number of records, and the server will return those records in batches. This convenience API will only fetch the first batch of results (equivalent to using @c CKQueryOperationMaximumResults). If you would like to fetch all results, use @c CKQueryOperation and its @c CKQueryCursor instead. Queries invoked within a @c sharedCloudDatabase must specify a @c zoneID. Cross-zone queries are not supported in a @c sharedCloudDatabase Queries that do not specify a @c zoneID will perform a query across all zones in the database.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.