Class DatastoreV1.DeleteEntityWithSummary
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,org.apache.beam.sdk.values.PCollection<DatastoreV1.WriteSuccessSummary>>
-
- org.apache.beam.sdk.io.gcp.datastore.DatastoreV1.DeleteEntityWithSummary
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- DatastoreV1
public static class DatastoreV1.DeleteEntityWithSummary extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<T>,org.apache.beam.sdk.values.PCollection<DatastoreV1.WriteSuccessSummary>>
APTransformthat deletesEntitiesfrom Cloud Datastore and returnsDatastoreV1.WriteSuccessSummaryfor each successful write.- See Also:
DatastoreIO, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatastoreV1.DeleteEntityWithSummarywithDatabaseId(java.lang.String databaseId)Returns a newDatastoreV1.DeleteEntityWithSummarythat deletes entities from the Cloud Datastore for the specified database.DatastoreV1.DeleteEntityWithSummarywithDatabaseId(org.apache.beam.sdk.options.ValueProvider<java.lang.String> databaseId)Same aswithDatabaseId(String)but with aValueProvider.DatastoreV1.DeleteEntityWithSummarywithHintNumWorkers(int hintNumWorkers)Returns a newDatastoreV1.DeleteEntityWithSummarywith a different worker count hint for ramp-up throttling.DatastoreV1.DeleteEntityWithSummarywithHintNumWorkers(org.apache.beam.sdk.options.ValueProvider<java.lang.Integer> hintNumWorkers)Same aswithHintNumWorkers(int)but with aValueProvider.DatastoreV1.DeleteEntityWithSummarywithLocalhost(java.lang.String localhost)Returns a newDatastoreV1.DeleteEntityWithSummarythat deletes entities from the Cloud Datastore Emulator running locally on the specified host port.DatastoreV1.DeleteEntityWithSummarywithProjectId(java.lang.String projectId)Returns a newDatastoreV1.DeleteEntityWithSummarythat deletes entities from the Cloud Datastore for the specified project.DatastoreV1.DeleteEntityWithSummarywithProjectId(org.apache.beam.sdk.options.ValueProvider<java.lang.String> projectId)Same aswithProjectId(String)but with aValueProvider.DatastoreV1.DeleteEntityWithSummarywithRampupThrottlingDisabled()Returns a newDatastoreV1.DeleteEntityWithSummarythat does not throttle during ramp-up.-
Methods inherited from class org.apache.beam.sdk.transforms.PTransform
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setDisplayData, setResourceHints, validate, validate
-
-
-
-
Method Detail
-
withProjectId
public DatastoreV1.DeleteEntityWithSummary withProjectId(java.lang.String projectId)
Returns a newDatastoreV1.DeleteEntityWithSummarythat deletes entities from the Cloud Datastore for the specified project.
-
withDatabaseId
public DatastoreV1.DeleteEntityWithSummary withDatabaseId(java.lang.String databaseId)
Returns a newDatastoreV1.DeleteEntityWithSummarythat deletes entities from the Cloud Datastore for the specified database.
-
withProjectId
public DatastoreV1.DeleteEntityWithSummary withProjectId(org.apache.beam.sdk.options.ValueProvider<java.lang.String> projectId)
Same aswithProjectId(String)but with aValueProvider.
-
withDatabaseId
public DatastoreV1.DeleteEntityWithSummary withDatabaseId(org.apache.beam.sdk.options.ValueProvider<java.lang.String> databaseId)
Same aswithDatabaseId(String)but with aValueProvider.
-
withLocalhost
public DatastoreV1.DeleteEntityWithSummary withLocalhost(java.lang.String localhost)
Returns a newDatastoreV1.DeleteEntityWithSummarythat deletes entities from the Cloud Datastore Emulator running locally on the specified host port.
-
withRampupThrottlingDisabled
public DatastoreV1.DeleteEntityWithSummary withRampupThrottlingDisabled()
Returns a newDatastoreV1.DeleteEntityWithSummarythat does not throttle during ramp-up.
-
withHintNumWorkers
public DatastoreV1.DeleteEntityWithSummary withHintNumWorkers(int hintNumWorkers)
Returns a newDatastoreV1.DeleteEntityWithSummarywith a different worker count hint for ramp-up throttling. Value is ignored if ramp-up throttling is disabled.
-
withHintNumWorkers
public DatastoreV1.DeleteEntityWithSummary withHintNumWorkers(org.apache.beam.sdk.options.ValueProvider<java.lang.Integer> hintNumWorkers)
Same aswithHintNumWorkers(int)but with aValueProvider.
-
-