Module datarush.library
Package com.pervasive.datarush.operators
package com.pervasive.datarush.operators
Provides classes and interfaces for developing dataflow operators.
Operators represent processing units within a dataflow graph;
they are the nodes in the graph. An operator consumes data from
its inputs and produces data on its outputs. An alternative,
function-oriented view is that an operator is a function which
taking some number of flows as arguments and returning some number
of flows.
All operators have:
- An interface defining the inputs and outputs of the operator. Graphs are constructed by linking operators together via their inputs and outputs.
- Zero or more properties which can be set which control the processing behavior of the operator.
-
ClassDescriptionConvenient base class for
DeferredCompositeOperator's that are alsoRecordPipelineOperator's.A base class for simple record-to-record operators, providing common functions.Base class for all LogicalOperators.Convenient base class forCompositeOperator's that are alsoRecordPipelineOperator's.Enumeration of compilation levels.To be implemented by operators that can be defined by chaining together other operations.Composition context used byCompositeOperator's.Interface to be implemented by iterative operators.Public only as a matter of implementation; for internal use only.For rare use cases; implementors should useCompositeOperatorwhenever possible!Composition context passed toDeferredCompositeOperator.compose(DeferredCompositionContext).ExecutableOperators are the most commonly used operators.Execution context passed toExecutableOperator.execute(ExecutionContext).Context passed toCompositionIterator.execute(IterativeExecutionContext).Context used byIterativeOperator.computeMetadata(IterativeMetadataContext).To be implemented by operations that must make multiple passes over the input data.A logical operator is the fundamental unit of composition which may be added to aLogicalGraph.Base interface for all contexts in which metadata is being computed.Base interface for various contexts in which port metadata can be resolved.MultiSinkOperator<T extends LogicalPort>Mix-in interface to be implemented by some operators.MultiSourceOperator<T extends LogicalPort>Mix-in interface to be implemented by some operators.A composite operator that can be externally composed.A model sink that can be externally composed.A model source that can be externally composed.A model sink that can be externally composed.A model source that can be externally composed.A record sink that can be externally composed.A record source that can be externally composed.A record sink that can be externally composed.A record source that can be externally composed.Base interface for any context/graph that allows operators to be added and ports to be connected.Public only as a matter of implementation; not intended for external usePublic only as a matter of implementation; not intended for external usePublic only as a matter of implementation; not intended for external usePublic only as a matter of implementation; not intended for external usePublic only as a matter of implementation; not intended for external usePublic only as a matter of implementation; not intended for external usePublic only as a matter of implementation; not intended for external useAdvanced operator settings that can be specified for an operator.Enumeration of possible operator typesAParallelismStrategyis responsible for determining parallelization of an operator based on configured parallelism and source parallelism.PipelineOperator<T extends LogicalPort>Mix-in interface to be implemented by some operators.Refinement ofPipelineOperator, specific to RecortPort's.Refinement ofSinkOperator, specific to RecortPort's.Refinement ofSourceOperator, specific to RecortPort's.SinkOperator<T extends LogicalPort>Mix-in interface to be implemented by some operators.SourceOperator<T extends LogicalPort>Mix-in interface to be implemented by some operators.StagedSource<F extends LogicalPort>A handle by which one can access the staged data associated with an iterative port.Various options that can be passed toStagedSource.getSource(StagedSourceOptions).Context used when computing metadata viaStreamingOperator.computeMetadata(StreamingMetadataContext).Base class for LogicalOperators that are a potentially streaming operation.