public class CKQueryOperation extends CKDatabaseOperation
| Modifier and Type | Class and Description |
|---|---|
static interface |
CKQueryOperation.Block_queryCompletionBlock_ret |
static interface |
CKQueryOperation.Block_recordFetchedBlock_ret |
static interface |
CKQueryOperation.Block_recordMatchedBlock_ret |
static interface |
CKQueryOperation.Block_setQueryCompletionBlock |
static interface |
CKQueryOperation.Block_setRecordFetchedBlock |
static interface |
CKQueryOperation.Block_setRecordMatchedBlock |
CKOperation.Block_longLivedOperationWasPersistedBlock_ret, CKOperation.Block_setLongLivedOperationWasPersistedBlockNSOperation.Block_completionBlock_ret, NSOperation.Block_setCompletionBlockNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CKQueryOperation(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static CKQueryOperation |
alloc() |
static CKQueryOperation |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CKQueryCursor |
cursor() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
NSArray<java.lang.String> |
desiredKeys()
Declares which user-defined keys should be fetched and added to the resulting CKRecords.
|
static long |
hash_static() |
CKQueryOperation |
init()
Queries invoked within a sharedCloudDatabase must specify a zoneID.
|
CKQueryOperation |
initWithCursor(CKQueryCursor cursor) |
CKQueryOperation |
initWithQuery(CKQuery query) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CKQueryOperation |
new_objc() |
CKQuery |
query() |
CKQueryOperation.Block_queryCompletionBlock_ret |
queryCompletionBlock()
This block is called when the operation completes.
|
CKQueryOperation.Block_recordFetchedBlock_ret |
recordFetchedBlock()
This block will be called once for every record that is returned as a result of the query.
|
CKQueryOperation.Block_recordMatchedBlock_ret |
recordMatchedBlock()
This block will be called once for every record that is returned as a result of the query.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
long |
resultsLimit()
Defaults to @c CKQueryOperationMaximumResults.
|
void |
setCursor(CKQueryCursor value) |
void |
setDesiredKeys(NSArray<java.lang.String> value)
Declares which user-defined keys should be fetched and added to the resulting CKRecords.
|
void |
setQuery(CKQuery value) |
void |
setQueryCompletionBlock(CKQueryOperation.Block_setQueryCompletionBlock value)
This block is called when the operation completes.
|
void |
setRecordFetchedBlock(CKQueryOperation.Block_setRecordFetchedBlock value)
This block will be called once for every record that is returned as a result of the query.
|
void |
setRecordMatchedBlock(CKQueryOperation.Block_setRecordMatchedBlock value)
This block will be called once for every record that is returned as a result of the query.
|
void |
setResultsLimit(long value)
Defaults to @c CKQueryOperationMaximumResults.
|
static void |
setVersion_static(long aVersion) |
void |
setZoneID(CKRecordZoneID value)
Indicates which record zone to query.
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
CKRecordZoneID |
zoneID()
Indicates which record zone to query.
|
database, setDatabaseallowsCellularAccess, configuration, container, group, isLongLived, longLivedOperationWasPersistedBlock, operationID, setAllowsCellularAccess, setConfiguration, setContainer, setGroup, setLongLived, setLongLivedOperationWasPersistedBlock, setTimeoutIntervalForRequest, setTimeoutIntervalForResource, timeoutIntervalForRequest, timeoutIntervalForResourceaddDependency, cancel, completionBlock, dependencies, isAsynchronous, isCancelled, isConcurrent, isExecuting, isFinished, isReady, main, name, qualityOfService, queuePriority, removeDependency, setCompletionBlock, setName, setQualityOfService, setQueuePriority, setThreadPriority, start, threadPriority, waitUntilFinishedaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static CKQueryOperation alloc()
public static CKQueryOperation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CKQueryOperation new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public CKQueryCursor cursor()
public NSArray<java.lang.String> desiredKeys()
If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded. Defaults to @c nil.
public CKQueryOperation init()
init in class CKDatabaseOperationpublic CKQueryOperation initWithCursor(CKQueryCursor cursor)
public CKQueryOperation initWithQuery(CKQuery query)
public CKQuery query()
public CKQueryOperation.Block_queryCompletionBlock_ret queryCompletionBlock()
The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of recordIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. These errors are repeats of those sent back in previous @c recordMatchedBlock invocations Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public CKQueryOperation.Block_recordFetchedBlock_ret recordFetchedBlock()
The callbacks will happen in the order that the results were sorted in. If the replacement callback @c recordMatchedBlock is set, this callback block is ignored. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public long resultsLimit()
public void setCursor(CKQueryCursor value)
public void setDesiredKeys(NSArray<java.lang.String> value)
If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded. Defaults to @c nil.
public void setQuery(CKQuery value)
public void setQueryCompletionBlock(CKQueryOperation.Block_setQueryCompletionBlock value)
The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of recordIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. These errors are repeats of those sent back in previous @c recordMatchedBlock invocations Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public void setRecordFetchedBlock(CKQueryOperation.Block_setRecordFetchedBlock value)
The callbacks will happen in the order that the results were sorted in. If the replacement callback @c recordMatchedBlock is set, this callback block is ignored. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public void setResultsLimit(long value)
public void setZoneID(CKRecordZoneID value)
For query operations constructed using a cursor, this property is ignored and instead will be evaluated in the record zone in which the cursor was originally created. Queries that do not specify a @c zoneID will perform a query across all zones in the database.
public CKRecordZoneID zoneID()
For query operations constructed using a cursor, this property is ignored and instead will be evaluated in the record zone in which the cursor was originally created. Queries that do not specify a @c zoneID will perform a query across all zones in the database.
public CKQueryOperation.Block_recordMatchedBlock_ret recordMatchedBlock()
The callbacks will happen in the order that the results were sorted in. If a record fails in post-processing (say, a network failure materializing a @c CKAsset record field), the per-record error will be passed here. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public void setRecordMatchedBlock(CKQueryOperation.Block_setRecordMatchedBlock value)
The callbacks will happen in the order that the results were sorted in. If a record fails in post-processing (say, a network failure materializing a @c CKAsset record field), the per-record error will be passed here. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.