|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.lucis.core.Batch<T>
T - Checkpoint type.public final class Batch<T>
Class representing the set of operations to be performed in order to take the index to the given checkpoint. Objects of this class are built using a batch builder.
| Nested Class Summary | |
|---|---|
static class |
Batch.Addition
|
static class |
Batch.Builder<T>
|
| Method Summary | ||
|---|---|---|
static
|
builder()
|
|
com.google.common.collect.ImmutableList<Batch.Addition> |
getAdditions()
|
|
T |
getCheckpoint()
|
|
java.lang.Iterable<org.apache.lucene.index.Term> |
getDeletions()
|
|
boolean |
isEmpty()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isEmpty()
public T getCheckpoint()
public com.google.common.collect.ImmutableList<Batch.Addition> getAdditions()
public java.lang.Iterable<org.apache.lucene.index.Term> getDeletions()
public static <T> Batch.Builder<T> builder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||