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
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected int
protected Long
protected int
protected Boolean
protected boolean
protected boolean
protected String
protected Map<String,
Serializable> protected String
protected Long
protected String
protected String
protected Boolean
protected Boolean
protected String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Precision is second.int
getId()
<T> T
getQuery()
When greater than 0, the limit applied to the query resultsint
hashCode()
void
setBatchSize
(int batchSize) void
setBatchTransactionTimeout
(Duration timeout) Precision is second.void
setBucketSize
(int bucketSize) void
setQueryLimit
(Long limit) void
setRepository
(String repository) void
setScroller
(String scrollerName) toString()
boolean
True if the command uses an external scroller.boolean
True 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
-