public static class DatastoreV1.DeleteEntity extends PTransform<PCollection<T>,PDone>
PTransform
that deletes Entities
from Cloud Datastore.DatastoreIO
,
Serialized Formname, resourceHints
Modifier and Type | Method and Description |
---|---|
DatastoreV1.DeleteEntity |
withLocalhost(java.lang.String localhost)
Returns a new
DatastoreV1.DeleteEntity that deletes entities from the Cloud Datastore Emulator
running locally on the specified host port. |
DatastoreV1.DeleteEntity |
withProjectId(java.lang.String projectId)
Returns a new
DatastoreV1.DeleteEntity that deletes entities from the Cloud Datastore for the
specified project. |
DatastoreV1.DeleteEntity |
withProjectId(ValueProvider<java.lang.String> projectId)
Same as
withProjectId(String) but with a ValueProvider . |
compose, compose, getAdditionalInputs, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setResourceHints, validate
public DatastoreV1.DeleteEntity withProjectId(java.lang.String projectId)
DatastoreV1.DeleteEntity
that deletes entities from the Cloud Datastore for the
specified project.public DatastoreV1.DeleteEntity withProjectId(ValueProvider<java.lang.String> projectId)
withProjectId(String)
but with a ValueProvider
.public DatastoreV1.DeleteEntity withLocalhost(java.lang.String localhost)
DatastoreV1.DeleteEntity
that deletes entities from the Cloud Datastore Emulator
running locally on the specified host port.