public class BlockCartesian extends CompositeOperator
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BUFFER_ROWS
The default buffer size, in records, for blocking.
|
Constructor and Description |
---|
BlockCartesian()
Generates the Cartesian product of the inputs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
compose(CompositionContext ctx)
Compose the body of this operator.
|
int |
getBufferRows()
Gets the size (in rows) of the memory buffer used to generate
output pairs.
|
String |
getLeftFieldsPattern()
Gets the output naming pattern for fields from the left hand input.
|
RecordPort |
getLeftInput()
Gets the record port providing the left hand input to the pair
generation.
|
RecordPort |
getOutput()
Gets the record port providing the results of the pair generation.
|
String |
getRightFieldsPattern()
Gets the output naming pattern for fields from the right hand input.
|
RecordPort |
getRightInput()
Gets the record port providing the right hand input to the pair
generation.
|
void |
setBufferRows(int rows)
Sets the size (in rows) of the memory buffer used to generate
output pairs.
|
void |
setLeftFieldsPattern(String pattern)
Sets the output naming pattern for fields from the left hand input.
|
void |
setRightFieldsPattern(String pattern)
Sets the output naming pattern for fields from the right hand input.
|
disableParallelism, getInputPorts, getOutputPorts, newInput, newInput, newOutput, newRecordInput, newRecordInput, newRecordOutput, notifyError
public static final int DEFAULT_BUFFER_ROWS
setBufferRows(int)
,
Constant Field Valuespublic BlockCartesian()
public String getLeftFieldsPattern()
public void setLeftFieldsPattern(String pattern)
pattern
- name pattern for the left hand side field namespublic String getRightFieldsPattern()
public void setRightFieldsPattern(String pattern)
pattern
- name pattern for the right hand side field namespublic int getBufferRows()
public void setBufferRows(int rows)
rows
- number of rows to store in memory bufferpublic RecordPort getLeftInput()
public RecordPort getRightInput()
public RecordPort getOutput()
protected void compose(CompositionContext ctx)
CompositeOperator
OperatorComposable.add(O)
OperatorComposable.connect(P, P)
. This includes
connections from the composite's input ports to sub-operators, connections between sub-operators, and
connections from sub-operators output ports to the composite's output portscompose
in class CompositeOperator
ctx
- the contextCopyright © 2021 Actian Corporation. All rights reserved.