public class JoinConfig extends AbstractKeyedOpsConfig<JoinConfig>
opKeyType, tPartitioner
computeConnection, edgeName, messageSchema, opDataType, operationName, propertiesMap, source
Constructor and Description |
---|
JoinConfig(java.lang.String leftParent,
java.lang.String rightParent,
ComputeConnection computeConnection,
CommunicationContext.JoinType joinType,
CommunicationContext.JoinAlgorithm joinAlgorithm) |
Modifier and Type | Method and Description |
---|---|
ComputeConnection |
connect() |
protected void |
generateSchema()
This method tries to generate a schema, if user hasn't given a schema
|
protected Edge |
updateEdge(Edge newEdge) |
JoinConfig |
useDisk(boolean useDisk) |
JoinConfig |
viaLeftEdge(java.lang.String edge) |
JoinConfig |
viaRightEdge(java.lang.String edge) |
<T> JoinConfig |
withComparator(java.util.Comparator<T> keyComparator) |
JoinConfig |
withLeftDataType(MessageType dataType) |
JoinConfig |
withLeftMessageSchema(MessageSchema messageSchema) |
JoinConfig |
withMessageSchema(MessageSchema messageSchema) |
JoinConfig |
withRightDataType(MessageType dataType) |
JoinConfig |
withRightMessageSchema(MessageSchema messageSchema) |
JoinConfig |
withTargetEdge(java.lang.String g) |
withKeyType, withTaskPartitioner, withTaskPartitioner
failValidation, getEdgeName, getOpDataType, getSource, runValidation, viaEdge, withDataType, withProperties, withProperty
public JoinConfig(java.lang.String leftParent, java.lang.String rightParent, ComputeConnection computeConnection, CommunicationContext.JoinType joinType, CommunicationContext.JoinAlgorithm joinAlgorithm)
public JoinConfig useDisk(boolean useDisk)
useDisk
in class AbstractKeyedOpsConfig<JoinConfig>
public <T> JoinConfig withComparator(java.util.Comparator<T> keyComparator)
public JoinConfig viaLeftEdge(java.lang.String edge)
public JoinConfig viaRightEdge(java.lang.String edge)
public JoinConfig withRightDataType(MessageType dataType)
public JoinConfig withLeftDataType(MessageType dataType)
public JoinConfig withMessageSchema(MessageSchema messageSchema)
withMessageSchema
in class AbstractOpsConfig<JoinConfig>
public JoinConfig withLeftMessageSchema(MessageSchema messageSchema)
public JoinConfig withRightMessageSchema(MessageSchema messageSchema)
public JoinConfig withTargetEdge(java.lang.String g)
protected void generateSchema()
AbstractOpsConfig
generateSchema
in class AbstractKeyedOpsConfig<JoinConfig>
public ComputeConnection connect()
connect
in class AbstractOpsConfig<JoinConfig>
protected Edge updateEdge(Edge newEdge)
updateEdge
in class AbstractOpsConfig<JoinConfig>