public class IndexDefinitionManager extends Object
Constructor and Description |
---|
IndexDefinitionManager(MGraph definitionGraph)
Creates a new IndexDefinitionManager.
|
Modifier and Type | Method and Description |
---|---|
void |
addDefinition(UriRef rdfType,
List<UriRef> properties)
Defines an index for the specified type and properties, removing
previous index definitions for that type (java friendly version) with
facet search enabled on all properties
|
void |
addDefinition(UriRef rdfType,
List<UriRef> properties,
boolean facetSearch)
Defines an index for the specified type and properties, removing
previous index definitions for that type (java friendly version)
|
void |
addDefinitionVirtual(UriRef rdfType,
List<VirtualProperty> properties)
Defines an index for the specified types and virtual properties, removing
previous index definitions for that type (java friendly version)
|
void |
deleteDefinition(UriRef rdfType)
Remove index definitions for the specified RDF type.
|
public IndexDefinitionManager(MGraph definitionGraph)
definitionGraph
- the graph into which the definitions are written.public void addDefinition(UriRef rdfType, List<UriRef> properties)
rdfType
- The RDF type for which to build an index.properties
- A list of RDF properties to index.public void addDefinition(UriRef rdfType, List<UriRef> properties, boolean facetSearch)
rdfType
- The RDF type for which to build an index.properties
- A list of RDF properties to index.facetSearch
- true if all properties shall be facet properties false if nonepublic void addDefinitionVirtual(UriRef rdfType, List<VirtualProperty> properties)
rdfType
- The RDF type for which to build an index.properties
- A list of properties to index.public void deleteDefinition(UriRef rdfType)
rdfType
- the RDF typeCopyright © 2014 The Apache Software Foundation. All Rights Reserved.