public static class DatastoreV1.DeleteEntity
extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,org.apache.beam.sdk.values.PDone>
PTransform that deletes Entities from Cloud Datastore.DatastoreIO,
Serialized Form| Modifier and Type | Method and Description |
|---|---|
DatastoreV1.DeleteEntity |
withHintNumWorkers(int hintNumWorkers)
Returns a new
DatastoreV1.DeleteEntity with a different worker count hint for ramp-up throttling. |
DatastoreV1.DeleteEntity |
withHintNumWorkers(org.apache.beam.sdk.options.ValueProvider<java.lang.Integer> hintNumWorkers)
Same as
withHintNumWorkers(int) but with a ValueProvider. |
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(org.apache.beam.sdk.options.ValueProvider<java.lang.String> projectId)
Same as
withProjectId(String) but with a ValueProvider. |
DatastoreV1.DeleteEntity |
withRampupThrottlingDisabled()
Returns a new
DatastoreV1.DeleteEntity that does not throttle during ramp-up. |
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(org.apache.beam.sdk.options.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.public DatastoreV1.DeleteEntity withRampupThrottlingDisabled()
DatastoreV1.DeleteEntity that does not throttle during ramp-up.public DatastoreV1.DeleteEntity withHintNumWorkers(int hintNumWorkers)
DatastoreV1.DeleteEntity with a different worker count hint for ramp-up throttling.
Value is ignored if ramp-up throttling is disabled.public DatastoreV1.DeleteEntity withHintNumWorkers(org.apache.beam.sdk.options.ValueProvider<java.lang.Integer> hintNumWorkers)
withHintNumWorkers(int) but with a ValueProvider.