Package org.nuxeo.ecm.core.bulk.message
Class BulkCommand
java.lang.Object
org.nuxeo.ecm.core.bulk.message.BulkCommand
- All Implemented Interfaces:
Serializable
A message representing a bulk command
- Since:
- 10.2
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected intprotected Longprotected intprotected Booleanprotected booleanprotected booleanprotected Stringprotected Map<String,Serializable> protected Stringprotected Longprotected Stringprotected Stringprotected Booleanprotected Booleanprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintPrecision is second.intgetId()<T> TgetQuery()When greater than 0, the limit applied to the query resultsinthashCode()voidsetBatchSize(int batchSize) voidsetBatchTransactionTimeout(Duration timeout) Precision is second.voidsetBucketSize(int bucketSize) voidsetQueryLimit(Long limit) voidsetRepository(String repository) voidsetScroller(String scrollerName) toString()booleanTrue if the command uses an external scroller.booleanTrue if the command uses a generic scroller.
-
Field Details
-
id
-
action
-
query
-
queryLimit
-
username
-
repository
-
bucketSize
protected int bucketSize -
batchSize
protected int batchSize -
batchTransactionTimeout
-
scroller
-
genericScroller
protected boolean genericScroller -
externalScroller
protected boolean externalScroller -
sequentialScroll
-
sequentialProcessing
-
exclusive
-
params
-
-
Constructor Details
-
BulkCommand
protected BulkCommand() -
BulkCommand
-
-
Method Details
-
getUsername
-
getRepository
-
getQuery
-
getAction
-
getScroller
-
getSequentialScroll
-
getSequentialProcessing
-
getExclusive
-
useGenericScroller
public boolean useGenericScroller()True if the command uses a generic scroller.- Since:
- 11.1
-
useExternalScroller
public boolean useExternalScroller()True if the command uses an external scroller.- Since:
- 11.3
-
getParams
-
getParam
-
getId
-
getBucketSize
public int getBucketSize() -
getBatchSize
public int getBatchSize() -
getBatchTransactionTimeout
Precision is second.- Since:
- 11.5
-
getQueryLimit
When greater than 0, the limit applied to the query results- Since:
- 11.4
-
hashCode
public int hashCode() -
equals
-
toString
-
setQueryLimit
-
setBatchSize
public void setBatchSize(int batchSize) -
setBucketSize
public void setBucketSize(int bucketSize) -
setBatchTransactionTimeout
Precision is second.- Since:
- 11.5
-
setRepository
-
setScroller
-