Uses of Class
org.nuxeo.ecm.core.bulk.message.BulkCommand.Builder
-
Uses of BulkCommand.Builder in org.nuxeo.ecm.core.bulk.message
Modifier and TypeMethodDescriptionBulkCommand.Builder.batch
(int size) The number of documents processed by action within a transactionBulkCommand.Builder.batchTransactionTimeout
(Duration timeout) Precision is second.BulkCommand.Builder.bucket
(int size) The size of a bucket of documents id that fits into a recordBulkCommand.Builder.orElseAction
(String alternativeAction) If the main action is not enabled or not exist fallback to the alternative action.BulkCommand.Builder.param
(String key, Serializable value) Add an action parameterBulkCommand.Builder.params
(Map<String, Serializable> params) Set all action parametersBulkCommand.Builder.queryLimit
(long limit) Limits the query result.BulkCommand.Builder.queryUnlimited()
Unlimited query results, this will override the action defaultQueryLimit.BulkCommand.Builder.repository
(String name) Use a non default document repositorySets scroller name used to materialized the document setBulkCommand.Builder.setExclusive
(Boolean value) When set totrue
only one command of this action per repository can be scheduled or running.BulkCommand.Builder.setSequentialProcessing
(Boolean value) When set totrue
the processing of the command is done on the same thread sequentially.BulkCommand.Builder.setSequentialScroll
(Boolean value) When set totrue
the scroll with other bulk commands having the same flag is done sequentially.BulkCommand.Builder.useDocumentScroller()
Uses a document scroller, the query must be a valid NXQL query.BulkCommand.Builder.useExternalScroller()
Uses an external scroller.BulkCommand.Builder.useGenericScroller()
Uses a generic scroller, the query syntax depends on scroller implementation.Deprecated.
Builder(String, String, String)
constructor with username instead