com.hp.hpl.jena.query.larq
Class IndexBuilderSubject
java.lang.Object
com.hp.hpl.jena.rdf.listeners.StatementListener
com.hp.hpl.jena.query.larq.IndexBuilderModel
com.hp.hpl.jena.query.larq.IndexBuilderSubject
- All Implemented Interfaces:
- com.hp.hpl.jena.rdf.model.ModelChangedListener
public class IndexBuilderSubject
- extends IndexBuilderModel
Class for indexing by subject (i.e. index is a literal and the
index returns the subject). Often the application can provide an
additional property to further restrict what gets indexed.
- Author:
- Andy Seaborne
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexBuilderSubject
public IndexBuilderSubject()
IndexBuilderSubject
public IndexBuilderSubject(org.apache.lucene.index.IndexWriter existingWriter)
IndexBuilderSubject
public IndexBuilderSubject(java.io.File fileDir)
IndexBuilderSubject
public IndexBuilderSubject(java.lang.String fileDir)
IndexBuilderSubject
public IndexBuilderSubject(com.hp.hpl.jena.rdf.model.Property p)
IndexBuilderSubject
public IndexBuilderSubject(com.hp.hpl.jena.rdf.model.Property p,
org.apache.lucene.index.IndexWriter existingWriter)
IndexBuilderSubject
public IndexBuilderSubject(com.hp.hpl.jena.rdf.model.Property p,
java.io.File fileDir)
IndexBuilderSubject
public IndexBuilderSubject(com.hp.hpl.jena.rdf.model.Property p,
java.lang.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
Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP