net.sf.lucis.core
Interface Indexer<T>

Type Parameters:
T - Checkpoint type.

public interface Indexer<T>

Inferface for incremental indexer objects.

Author:
Andres Rodriguez

Method Summary
 Batch<T> index(T checkpoint)
          Prepares a batch of deletions and additions to apply to an index from an initial checkpoint.
 

Method Detail

index

Batch<T> index(T checkpoint)
               throws InterruptedException
Prepares a batch of deletions and additions to apply to an index from an initial checkpoint.

Parameters:
checkpoint - Initial checkpoint.
Returns:
The operations to apply or null if there is nothing to do.
Throws:
RuntimeException - if an error happens during batch compilation.
InterruptedException - if the current task has been interrupted.


Copyright © 2013. All Rights Reserved.