net.sf.lucis.core
Class Batch.Builder<T>
java.lang.Object
net.sf.lucis.core.Batch.Builder<T>
- Enclosing class:
- Batch<T>
public static class Batch.Builder<T>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
recreate
public Batch.Builder<T> recreate()
throws InterruptedException
- States that the index must be recreated before applying the batch.
- Throws:
InterruptedException
add
public Batch.Builder<T> add(Document document)
throws InterruptedException
- Throws:
InterruptedException
add
public Batch.Builder<T> add(Document document,
Analyzer analyzer)
throws InterruptedException
- Throws:
InterruptedException
delete
public Batch.Builder<T> delete(String field,
String text)
throws InterruptedException
- Throws:
InterruptedException
delete
public Batch.Builder<T> delete(Term term)
throws InterruptedException
- Throws:
InterruptedException
update
public Batch.Builder<T> update(Document document,
String field,
String text)
throws InterruptedException
- Throws:
InterruptedException
update
public Batch.Builder<T> update(Document document,
Term term)
throws InterruptedException
- Throws:
InterruptedException
build
public Batch<T> build(T checkpoint)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2013. All Rights Reserved.