public static class DatastoreIO.Read
extends java.lang.Object
PCollection<Entity> containing each of the rows of the table.| Modifier and Type | Class and Description |
|---|---|
static class |
DatastoreIO.Read.Bound
A PTransform that reads from a Datastore query and returns a bounded
PCollection<Entity>. |
| Constructor and Description |
|---|
DatastoreIO.Read() |
| Modifier and Type | Method and Description |
|---|---|
static DatastoreIO.Read.Bound |
from(java.lang.String datasetId,
com.google.api.services.datastore.DatastoreV1.Query query)
Reads entities retrieved from the dataset and a given query.
|
static DatastoreIO.Read.Bound |
named(java.lang.String name)
Returns a DatastoreIO.Read PTransform with the given step name.
|
static DatastoreIO.Read.Bound |
withHost(java.lang.String host)
Returns a DatastoreIO.Read PTransform with specified host.
|
public static DatastoreIO.Read.Bound named(java.lang.String name)
public static DatastoreIO.Read.Bound from(java.lang.String datasetId, com.google.api.services.datastore.DatastoreV1.Query query)
public static DatastoreIO.Read.Bound withHost(java.lang.String host)