Package com.yahoo.documentapi
Class DocumentOperationParameters
java.lang.Object
com.yahoo.documentapi.DocumentOperationParameters
Optional parameters for a document operation. Immutable class.
- Author:
- jonmv
-
Method Summary
Modifier and TypeMethodDescriptiondeadline()
boolean
fieldSet()
int
hashCode()
static DocumentOperationParameters
priority()
Deprecated, for removal: This API element is subject to removal in a future version.explicit operation priority is deprecatedroute()
toString()
withDeadline
(Instant deadline) Sets the deadline for an operation.withFieldSet
(com.yahoo.document.fieldset.FieldSet fieldSet) Sets the field set used for retrieval.withFieldSet
(String fieldSet) Sets the field set used for retrieval.withPriority
(DocumentProtocol.Priority priority) Deprecated, for removal: This API element is subject to removal in a future version.specifying explicit operation priority is deprecatedwithResponseHandler
(ResponseHandler responseHandler) Sets theResponseHandler
to handle theResponse
of an async operation, instead of the session default.Sets the route along which to send the operation.withTraceLevel
(int traceLevel) Sets the trace level for an operation.
-
Method Details
-
parameters
-
withPriority
@Deprecated(forRemoval=true) public DocumentOperationParameters withPriority(DocumentProtocol.Priority priority) Deprecated, for removal: This API element is subject to removal in a future version.specifying explicit operation priority is deprecatedSets the priority with which to perform an operation. -
withFieldSet
Sets the field set used for retrieval. -
withFieldSet
Sets the field set used for retrieval. -
withRoute
Sets the route along which to send the operation. -
withTraceLevel
Sets the trace level for an operation. -
withDeadline
Sets the deadline for an operation. -
withResponseHandler
Sets theResponseHandler
to handle theResponse
of an async operation, instead of the session default. -
priority
Deprecated, for removal: This API element is subject to removal in a future version.explicit operation priority is deprecated -
fieldSet
-
route
-
traceLevel
-
deadline
-
responseHandler
-
equals
-
hashCode
public int hashCode() -
toString
-