public class AssertRowCount extends CompositeOperator implements RecordSinkOperator
| Constructor and Description |
|---|
AssertRowCount()
Default constructor
|
AssertRowCount(long rowCount)
Create an
AssertRowCountPlan with all the
required parameters. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
compose(CompositionContext ctx)
Compose the body of this operator.
|
RecordPort |
getInput()
Gets the record port providing the input data to the sink.
|
int |
getLogFrequency()
Returns the frequency with which to log row count.
|
long |
getRowCount()
Returns the expected number of rows
|
void |
setLogFrequency(int logFrequency)
Sets the frequency with which to log row count
|
void |
setRowCount(long rowCount)
Sets the expected number of rows
|
disableParallelism, getInputPorts, getOutputPorts, newInput, newInput, newOutput, newRecordInput, newRecordInput, newRecordOutput, notifyErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableParallelism, getInputPorts, getOutputPortspublic AssertRowCount()
public AssertRowCount(long rowCount)
AssertRowCountPlan with all the
required parameters.rowCount - the expected row countpublic int getLogFrequency()
public void setLogFrequency(int logFrequency)
logFrequency - the frequency with which to log row count.public long getRowCount()
public void setRowCount(long rowCount)
rowCount - the expected number of rowspublic RecordPort getInput()
RecordSinkOperatorgetInput in interface RecordSinkOperatorgetInput in interface SinkOperator<RecordPort>protected void compose(CompositionContext ctx)
CompositeOperatorOperatorComposable.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 CompositeOperatorctx - the contextCopyright © 2024 Actian Corporation. All rights reserved.