Class DatastoreV1.DeleteEntity
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,org.apache.beam.sdk.values.PDone>
-
- org.apache.beam.sdk.io.gcp.datastore.DatastoreV1.DeleteEntity
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- DatastoreV1
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>
APTransform
that deletesEntities
from Cloud Datastore.- See Also:
DatastoreIO
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreV1.DeleteEntity
withHintNumWorkers(int hintNumWorkers)
Returns a newDatastoreV1.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 aswithHintNumWorkers(int)
but with aValueProvider
.DatastoreV1.DeleteEntity
withLocalhost(java.lang.String localhost)
Returns a newDatastoreV1.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 newDatastoreV1.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 aswithProjectId(String)
but with aValueProvider
.DatastoreV1.DeleteEntity
withRampupThrottlingDisabled()
Returns a newDatastoreV1.DeleteEntity
that does not throttle during ramp-up.
-
-
-
Method Detail
-
withProjectId
public DatastoreV1.DeleteEntity withProjectId(java.lang.String projectId)
Returns a newDatastoreV1.DeleteEntity
that deletes entities from the Cloud Datastore for the specified project.
-
withProjectId
public DatastoreV1.DeleteEntity withProjectId(org.apache.beam.sdk.options.ValueProvider<java.lang.String> projectId)
Same aswithProjectId(String)
but with aValueProvider
.
-
withLocalhost
public DatastoreV1.DeleteEntity withLocalhost(java.lang.String localhost)
Returns a newDatastoreV1.DeleteEntity
that deletes entities from the Cloud Datastore Emulator running locally on the specified host port.
-
withRampupThrottlingDisabled
public DatastoreV1.DeleteEntity withRampupThrottlingDisabled()
Returns a newDatastoreV1.DeleteEntity
that does not throttle during ramp-up.
-
withHintNumWorkers
public DatastoreV1.DeleteEntity withHintNumWorkers(int hintNumWorkers)
Returns a newDatastoreV1.DeleteEntity
with a different worker count hint for ramp-up throttling. Value is ignored if ramp-up throttling is disabled.
-
withHintNumWorkers
public DatastoreV1.DeleteEntity withHintNumWorkers(org.apache.beam.sdk.options.ValueProvider<java.lang.Integer> hintNumWorkers)
Same aswithHintNumWorkers(int)
but with aValueProvider
.
-
-