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)
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:
java.lang.RuntimeException - if an error happens during batch compilation.


Copyright © 2009. All Rights Reserved.