public static class DatastoreV1.DeleteKeyWithSummary extends PTransform<PCollection<T>,PCollection<DatastoreV1.WriteSuccessSummary>>
PTransform
that deletes Entities
associated with the given Keys
from Cloud Datastore and returns DatastoreV1.WriteSuccessSummary
for each successful delete.DatastoreIO
,
Serialized Formannotations, displayData, name, resourceHints
Modifier and Type | Method and Description |
---|---|
DatastoreV1.DeleteKeyWithSummary |
withDatabaseId(java.lang.String databaseId)
Returns a new
DatastoreV1.DeleteKeyWithSummary that deletes entities from the Cloud Datastore for
the specified database. |
DatastoreV1.DeleteKeyWithSummary |
withDatabaseId(ValueProvider<java.lang.String> databaseId)
Same as
withDatabaseId(String) but with a ValueProvider . |
DatastoreV1.DeleteKeyWithSummary |
withHintNumWorkers(int hintNumWorkers)
Returns a new
DatastoreV1.DeleteKeyWithSummary with a different worker count hint for ramp-up
throttling. |
DatastoreV1.DeleteKeyWithSummary |
withHintNumWorkers(ValueProvider<java.lang.Integer> hintNumWorkers)
Same as
withHintNumWorkers(int) but with a ValueProvider . |
DatastoreV1.DeleteKeyWithSummary |
withLocalhost(java.lang.String localhost)
Returns a new
DatastoreV1.DeleteKeyWithSummary that deletes entities from the Cloud Datastore
Emulator running locally on the specified host port. |
DatastoreV1.DeleteKeyWithSummary |
withProjectId(java.lang.String projectId)
Returns a new
DatastoreV1.DeleteKeyWithSummary that deletes entities from the Cloud Datastore for
the specified project. |
DatastoreV1.DeleteKeyWithSummary |
withProjectId(ValueProvider<java.lang.String> projectId)
Same as
withProjectId(String) but with a ValueProvider . |
DatastoreV1.DeleteKeyWithSummary |
withRampupThrottlingDisabled()
Returns a new
DatastoreV1.DeleteKeyWithSummary that does not throttle during ramp-up. |
addAnnotation, compose, compose, getAdditionalInputs, getAnnotations, getDefaultOutputCoder, getDefaultOutputCoder, getDefaultOutputCoder, getKindString, getName, getResourceHints, setDisplayData, setResourceHints, validate, validate
public DatastoreV1.DeleteKeyWithSummary withProjectId(java.lang.String projectId)
DatastoreV1.DeleteKeyWithSummary
that deletes entities from the Cloud Datastore for
the specified project.public DatastoreV1.DeleteKeyWithSummary withDatabaseId(java.lang.String databaseId)
DatastoreV1.DeleteKeyWithSummary
that deletes entities from the Cloud Datastore for
the specified database.public DatastoreV1.DeleteKeyWithSummary withLocalhost(java.lang.String localhost)
DatastoreV1.DeleteKeyWithSummary
that deletes entities from the Cloud Datastore
Emulator running locally on the specified host port.public DatastoreV1.DeleteKeyWithSummary withProjectId(ValueProvider<java.lang.String> projectId)
withProjectId(String)
but with a ValueProvider
.public DatastoreV1.DeleteKeyWithSummary withDatabaseId(ValueProvider<java.lang.String> databaseId)
withDatabaseId(String)
but with a ValueProvider
.public DatastoreV1.DeleteKeyWithSummary withRampupThrottlingDisabled()
DatastoreV1.DeleteKeyWithSummary
that does not throttle during ramp-up.public DatastoreV1.DeleteKeyWithSummary withHintNumWorkers(int hintNumWorkers)
DatastoreV1.DeleteKeyWithSummary
with a different worker count hint for ramp-up
throttling. Value is ignored if ramp-up throttling is disabled.public DatastoreV1.DeleteKeyWithSummary withHintNumWorkers(ValueProvider<java.lang.Integer> hintNumWorkers)
withHintNumWorkers(int)
but with a ValueProvider
.