public class FileIndexFactory implements ContextAware
A factory for file indexes
Constructor and Description |
---|
FileIndexFactory() |
Modifier and Type | Method and Description |
---|---|
<T> DefaultIndex<T> |
buildDefaultIndex()
Build an index which uses entry number for search
|
<T> java.util.Iterator<T> |
buildIterator() |
<T extends ValueProvider> |
buildProviderStreamIndex()
Build index for elements which implements ValueProvider interface
|
Context |
getContext() |
void |
invalidate()
Invalidate this factory and force it to reload file envelope
|
<T> java.lang.Iterable<T> |
iterable() |
getContext, getLogger
public Context getContext()
public <T> DefaultIndex<T> buildDefaultIndex()
Build an index which uses entry number for search
public <T extends ValueProvider> ValueProviderIndex<T> buildProviderStreamIndex()
Build index for elements which implements ValueProvider interface
public <T> java.lang.Iterable<T> iterable()
public <T> java.util.Iterator<T> buildIterator()
public void invalidate()
Invalidate this factory and force it to reload file envelope