public class BeamSqlProjectFn extends DoFn<BeamRecord,BeamRecord>
BeamSqlProjectFn
is the executor for a BeamProjectRel
step.DoFn.BoundedPerElement, DoFn.FinishBundle, DoFn.FinishBundleContext, DoFn.GetInitialRestriction, DoFn.GetRestrictionCoder, DoFn.NewTracker, DoFn.OnTimer, DoFn.OnTimerContext, DoFn.OutputReceiver<T>, DoFn.ProcessContext, DoFn.ProcessContinuation, DoFn.ProcessElement, DoFn.Setup, DoFn.SplitRestriction, DoFn.StartBundle, DoFn.StartBundleContext, DoFn.StateId, DoFn.Teardown, DoFn.TimerId, DoFn.UnboundedPerElement, DoFn.WindowedContext
Constructor and Description |
---|
BeamSqlProjectFn(java.lang.String stepName,
BeamSqlExpressionExecutor executor,
BeamRecordSqlType outputRowType) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
processElement(DoFn.ProcessContext c,
BoundedWindow window) |
void |
setup() |
getAllowedTimestampSkew, getInputTypeDescriptor, getOutputTypeDescriptor, populateDisplayData, prepareForProcessing
public BeamSqlProjectFn(java.lang.String stepName, BeamSqlExpressionExecutor executor, BeamRecordSqlType outputRowType)
@DoFn.Setup public void setup()
@DoFn.ProcessElement public void processElement(DoFn.ProcessContext c, BoundedWindow window)
@DoFn.Teardown public void close()