|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.lucis.core.impl.DefaultWriter
public final class DefaultWriter
Default writer implementation.
| Constructor Summary | |
|---|---|
DefaultWriter()
|
|
DefaultWriter(Supplier<IndexWriterConfig> config)
|
|
| Method Summary | ||
|---|---|---|
String |
getName()
Returns the name of the object or the class name if no one was provided. |
|
void |
setName(String name)
Sets the object name. |
|
|
write(Store<T> store,
Batch<T> batch)
Applies a batch of operations. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWriter()
public DefaultWriter(Supplier<IndexWriterConfig> config)
| Method Detail |
|---|
public <T> IndexStatus write(Store<T> store,
Batch<T> batch)
throws InterruptedException
Writer
write in interface WriterT - Checkpoint type.store - Destination store.batch - Batch to apply.
null if the batch is null or the final
checkpoint is equals to the initial one.
InterruptedException - if the current task has been interrupted.public final String getName()
public final void setName(String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||