org.xcmis.search.lucene.index
Interface IndexDataConsumer<R,D,Y>
- All Known Subinterfaces:
- IndexDataManager<D,R,Y>, LuceneIndexDataManager, TransactionableLuceneIndexDataManager
- All Known Implementing Classes:
- CacheableIndexDataManager, LocalIndexDataManagerProxy, LocalStorageIndexDataManager, LuceneIndexingService, PersistedIndex, ReducibleInMemoryIndexDataKeeper, StartableIndexingService, TransactionableIndexDataManager
public interface IndexDataConsumer<R,D,Y>
Created by The eXo Platform SAS.
- Version:
- $Id: IndexDataConsumer.java 2 2010-02-04 17:21:49Z andrew00x $
- Author:
- Sergey Kabashnyuk
getIndexReader
R getIndexReader()
throws IndexException
- Returns:
- index reader.
- Throws:
IndexException
getDirectory
Y getDirectory()
throws IndexException
- Returns:
- index reader.
- Throws:
IndexException
getDocument
D getDocument(String uuid)
throws IndexException
- Returns:
- document
- Throws:
IndexException
getDirectorySize
long getDirectorySize(boolean includeInherited)
- Returns:
- size of index directory.
- Throws:
IndexException
getDocumentCount
long getDocumentCount()
- Returns:
- number of documents.
- Throws:
IndexException
getLastModifedTime
long getLastModifedTime()
- Returns:
- last modification time.
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.