com.hp.hpl.jena.query.larq
Class IndexBuilderLiteral
java.lang.Object
com.hp.hpl.jena.rdf.listeners.StatementListener
com.hp.hpl.jena.query.larq.IndexBuilderModel
com.hp.hpl.jena.query.larq.IndexBuilderLiteral
- All Implemented Interfaces:
- com.hp.hpl.jena.rdf.model.ModelChangedListener
- Direct Known Subclasses:
- IndexBuilderString
public abstract class IndexBuilderLiteral
- extends IndexBuilderModel
Base class for indexing literals (i.e. index is a literal and the
index returns the literal)
|
Method Summary |
void |
closeWriter()
Close the index - no more updates possible |
void |
indexStatement(com.hp.hpl.jena.rdf.model.Statement s)
Update index based on one statement |
void |
unindexStatement(com.hp.hpl.jena.rdf.model.Statement s)
Remove index information |
| Methods inherited from class com.hp.hpl.jena.rdf.listeners.StatementListener |
addedStatements, addedStatements, addedStatements, addedStatements, notifyEvent, removedStatements, removedStatements, removedStatements, removedStatements |
IndexBuilderLiteral
public IndexBuilderLiteral()
IndexBuilderLiteral
public IndexBuilderLiteral(org.apache.lucene.index.IndexWriter existingWriter)
IndexBuilderLiteral
public IndexBuilderLiteral(File fileDir)
IndexBuilderLiteral
public IndexBuilderLiteral(String fileDir)
unindexStatement
public void unindexStatement(com.hp.hpl.jena.rdf.model.Statement s)
- Description copied from class:
IndexBuilderModel
- Remove index information
- Overrides:
unindexStatement in class IndexBuilderModel
indexStatement
public void indexStatement(com.hp.hpl.jena.rdf.model.Statement s)
- Description copied from class:
IndexBuilderModel
- Update index based on one statement
- Specified by:
indexStatement in class IndexBuilderModel
closeWriter
public void closeWriter()
- Close the index - no more updates possible
- Overrides:
closeWriter in class IndexBuilderModel
Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010 Epimorphics Ltd.