public static class DatastoreIO.Read.Bound extends PTransform<PBegin,PCollection<com.google.api.services.datastore.DatastoreV1.Entity>>
PCollection<Entity>.name| Modifier and Type | Method and Description |
|---|---|
PCollection<com.google.api.services.datastore.DatastoreV1.Entity> |
apply(PBegin input)
Applies this
PTransform on the given Input, and returns its
Output. |
DatastoreIO.Read.Bound |
from(java.lang.String datasetId,
com.google.api.services.datastore.DatastoreV1.Query query)
Returns a new DatastoreIO.Read PTransform with datasetId,
and query associated with this transformation, and options
associated with this Pipleine.
|
DatastoreIO.Read.Bound |
named(java.lang.String name)
Returns a new DatastoreIO.Read PTransform with the name
associated with this transformation.
|
DatastoreIO.Read.Bound |
withHost(java.lang.String host)
Returns a new DatastoreIO.Read PTransform with the host
specified.
|
finishSpecifying, getCoderRegistry, getDefaultName, getDefaultOutputCoder, getDefaultOutputCoder, getInput, getKindString, getName, getOutput, getPipeline, setName, setPipeline, toString, withNamepublic DatastoreIO.Read.Bound named(java.lang.String name)
public DatastoreIO.Read.Bound from(java.lang.String datasetId, com.google.api.services.datastore.DatastoreV1.Query query)
public DatastoreIO.Read.Bound withHost(java.lang.String host)
public PCollection<com.google.api.services.datastore.DatastoreV1.Entity> apply(PBegin input)
PTransformPTransform on the given Input, and returns its
Output.
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).
The default implementation throws an exception. A derived class must
either implement apply, or else each runner must supply a custom
implementation via
PipelineRunner.apply(com.google.cloud.dataflow.sdk.transforms.PTransform<Input, Output>, Input).
apply in class PTransform<PBegin,PCollection<com.google.api.services.datastore.DatastoreV1.Entity>>