@Internal public class RunnerImplementedSink extends PTransform<PCollection<byte[]>,PDone>
name
Constructor and Description |
---|
RunnerImplementedSink(PubsubUnboundedSink sink) |
Modifier and Type | Method and Description |
---|---|
PDone |
expand(PCollection<byte[]> input)
Override this method to specify how this
PTransform should be expanded on the given
InputT . |
java.lang.String |
getIdAttribute() |
protected java.lang.String |
getKindString()
Returns the name to use by default for this
PTransform (not including the names of any
enclosing PTransform s). |
PubsubUnboundedSink |
getOverrideSink() |
java.lang.String |
getTimestampAttribute() |
ValueProvider<PubsubClient.TopicPath> |
getTopicProvider() |
compose, compose, getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getName, populateDisplayData, toString, validate
public RunnerImplementedSink(PubsubUnboundedSink sink)
public PubsubUnboundedSink getOverrideSink()
public ValueProvider<PubsubClient.TopicPath> getTopicProvider()
public java.lang.String getTimestampAttribute()
public java.lang.String getIdAttribute()
public PDone expand(PCollection<byte[]> input)
PTransform
PTransform
should be expanded on the given
InputT
.
NOTE: This method should not be called directly. Instead apply the PTransform
should
be applied to the InputT
using the apply
method.
Composite transforms, which are defined in terms of other transforms, should return the output of one of the composed transforms. Non-composite transforms, which do not apply any transforms internally, should return a new unbound output and register evaluators (via backend-specific registration methods).
expand
in class PTransform<PCollection<byte[]>,PDone>
protected java.lang.String getKindString()
PTransform
PTransform
(not including the names of any
enclosing PTransform
s).
By default, returns the base name of this PTransform
's class.
The caller is responsible for ensuring that names of applied PTransform
s are unique,
e.g., by adding a uniquifying suffix when needed.
getKindString
in class PTransform<PCollection<byte[]>,PDone>