@Internal public class RunnerImplementedSource extends PTransform<PBegin,PCollection<byte[]>>
name
Constructor and Description |
---|
RunnerImplementedSource(PubsubUnboundedSource source) |
Modifier and Type | Method and Description |
---|---|
PCollection<byte[]> |
expand(PBegin 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). |
PubsubUnboundedSource |
getOverriddenSource() |
ValueProvider<PubsubClient.SubscriptionPath> |
getSubscriptionProvider() |
java.lang.String |
getTimestampAttribute() |
ValueProvider<PubsubClient.TopicPath> |
getTopicProvider() |
boolean |
isWithAttributes() |
compose, compose, getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getName, populateDisplayData, toString, validate
public RunnerImplementedSource(PubsubUnboundedSource source)
public PubsubUnboundedSource getOverriddenSource()
public ValueProvider<PubsubClient.TopicPath> getTopicProvider()
public ValueProvider<PubsubClient.SubscriptionPath> getSubscriptionProvider()
public java.lang.String getTimestampAttribute()
public java.lang.String getIdAttribute()
public boolean isWithAttributes()
public PCollection<byte[]> expand(PBegin 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<PBegin,PCollection<byte[]>>
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<PBegin,PCollection<byte[]>>