public class Randomize extends AbstractRecordCompositeOperator
input, output
Constructor and Description |
---|
Randomize()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
compose(CompositionContext ctx)
Compose the body of this operator.
|
long |
getSeed()
Get the random seed used.
|
void |
setSeed(long seed)
Set the random seed used.
|
getInput, getOutput
disableParallelism, getInputPorts, getOutputPorts, newInput, newInput, newOutput, newRecordInput, newRecordInput, newRecordOutput, notifyError
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disableParallelism, getInputPorts, getOutputPorts
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 contextpublic void setSeed(long seed)
seed
- the random seed to set.public long getSeed()
Copyright © 2021 Actian Corporation. All rights reserved.