I
- type of input values``O
- type of output valuesR
- type of final resultpublic class MapJob<I,O,R> extends com.google.appengine.tools.pipeline.Job0<MapReduceResult<R>>
Constructor and Description |
---|
MapJob(MapSpecification<I,O,R> specification,
MapSettings settings) |
Modifier and Type | Method and Description |
---|---|
String |
getJobDisplayName() |
com.google.appengine.tools.pipeline.Value<MapReduceResult<R>> |
handleException(CancellationException ex) |
com.google.appengine.tools.pipeline.Value<MapReduceResult<R>> |
handleException(Throwable t) |
com.google.appengine.tools.pipeline.Value<MapReduceResult<R>> |
run() |
static <I,O,R> String |
start(MapSpecification<I,O,R> specification,
MapSettings settings)
Starts a
MapJob with the given parameters in a new Pipeline. |
backOffFactor, backOffSeconds, futureCall, futureCall, futureCall, futureCall, futureCall, futureCall, futureCall, futureCallUnchecked, futureList, getJobKey, getOnBackend, getOnModule, getOnQueue, getPipelineKey, getStatusConsoleUrl, immediate, maxAttempts, newDelayedValue, newPromise, newPromise, onBackend, onModule, onQueue, setStatusConsoleUrl, statusConsoleUrl, waitFor
public MapJob(MapSpecification<I,O,R> specification, MapSettings settings)
public static <I,O,R> String start(MapSpecification<I,O,R> specification, MapSettings settings)
MapJob
with the given parameters in a new Pipeline.
Returns the pipeline id.public com.google.appengine.tools.pipeline.Value<MapReduceResult<R>> run()
run
in class com.google.appengine.tools.pipeline.Job0<MapReduceResult<R>>
public com.google.appengine.tools.pipeline.Value<MapReduceResult<R>> handleException(CancellationException ex)
ex
- The cancellation exceptionpublic com.google.appengine.tools.pipeline.Value<MapReduceResult<R>> handleException(Throwable t) throws Throwable
Throwable
public String getJobDisplayName()
getJobDisplayName
in class com.google.appengine.tools.pipeline.Job<MapReduceResult<R>>
Copyright © 2015 Google. All rights reserved.