public abstract class Batchable<I,R> extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_BATCHING |
| Constructor and Description |
|---|
Batchable() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addQueryAfterUse(Batchable<?,?> b) |
void |
addQueryAfterUse(javax.jdo.Query query) |
void |
closeAllQueries() |
abstract List<R> |
run(List<I> input) |
static <I,R> List<R> |
runBatched(int batchSize,
List<I> input,
Batchable<I,R> runnable) |
public static final int NO_BATCHING
public void addQueryAfterUse(javax.jdo.Query query)
protected void addQueryAfterUse(Batchable<?,?> b)
public void closeAllQueries()
public static <I,R> List<R> runBatched(int batchSize, List<I> input, Batchable<I,R> runnable) throws MetaException
MetaExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.