public class QueryBasedCreationData extends SimpleAbstractDistributedProcessCreationData
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryBasedCreationData.Builder |
static interface |
QueryBasedCreationData.QueryHook |
batchSize, DEFAULT_BATCH_SIZE, DEFAULT_NUM_RETRIES, handlerId, nodeGroup, numOfRetries, processId, processModelClass, scriptCode| Modifier | Constructor and Description |
|---|---|
protected |
QueryBasedCreationData(String handlerId,
String processId,
String nodeGroup,
Integer batchSize,
Integer numOfRetries,
String query,
Map<String,Object> queryParams,
List<Class<?>> resultClasses,
FlexibleSearchQuery flexibleSearchQuery,
String scriptCode,
boolean useDatabasePaging,
QueryBasedCreationData.QueryHook beforeQueryHook,
Class<? extends SimpleDistributedProcessModel> processModelClass) |
| Modifier and Type | Method and Description |
|---|---|
static QueryBasedCreationData.Builder |
builder() |
Stream<? extends SimpleBatchCreationData> |
initialBatches()
Responsible for returning stream for creating initial batches used by distributed process.
|
getBatchSize, getHandlerBeanId, getNodeGroup, getNumOfRetries, getProcessId, getProcessModelClass, getScriptCodeprotected QueryBasedCreationData(String handlerId, String processId, String nodeGroup, Integer batchSize, Integer numOfRetries, String query, Map<String,Object> queryParams, List<Class<?>> resultClasses, FlexibleSearchQuery flexibleSearchQuery, String scriptCode, boolean useDatabasePaging, QueryBasedCreationData.QueryHook beforeQueryHook, Class<? extends SimpleDistributedProcessModel> processModelClass)
public Stream<? extends SimpleBatchCreationData> initialBatches()
ProcessCreationDatainitialBatches in interface ProcessCreationDatainitialBatches in class SimpleAbstractDistributedProcessCreationDatapublic static QueryBasedCreationData.Builder builder()
Copyright © 2017 SAP SE. All Rights Reserved.