public abstract class AbstractKeyedOpsConfig<T extends AbstractOpsConfig> extends AbstractOpsConfig<T>
Modifier and Type | Field and Description |
---|---|
protected MessageType |
opKeyType |
protected TaskPartitioner |
tPartitioner |
computeConnection, edgeName, messageSchema, opDataType, operationName, propertiesMap, source
Modifier | Constructor and Description |
---|---|
protected |
AbstractKeyedOpsConfig(java.lang.String parent,
java.lang.String operationName,
ComputeConnection computeConnection) |
Modifier and Type | Method and Description |
---|---|
protected void |
generateSchema()
This method tries to generate a schema, if user hasn't given a schema
|
T |
useDisk(boolean useDisk) |
T |
withKeyType(MessageType keyType) |
<C> T |
withTaskPartitioner(java.lang.Class<C> tClass,
TaskPartitioner<C> taskPartitioner) |
T |
withTaskPartitioner(TaskPartitioner taskPartitioner) |
connect, failValidation, getEdgeName, getOpDataType, getSource, runValidation, updateEdge, viaEdge, withDataType, withMessageSchema, withProperties, withProperty
protected MessageType opKeyType
protected TaskPartitioner tPartitioner
protected AbstractKeyedOpsConfig(java.lang.String parent, java.lang.String operationName, ComputeConnection computeConnection)
public <C> T withTaskPartitioner(java.lang.Class<C> tClass, TaskPartitioner<C> taskPartitioner)
public T withTaskPartitioner(TaskPartitioner taskPartitioner)
public T withKeyType(MessageType keyType)
public T useDisk(boolean useDisk)
protected void generateSchema()
AbstractOpsConfig
generateSchema
in class AbstractOpsConfig<T extends AbstractOpsConfig>