org.apache.clerezza.platform.cris
Class IndexService

java.lang.Object
  extended by org.apache.clerezza.rdf.cris.ResourceFinder
      extended by org.apache.clerezza.platform.cris.IndexService

@Service(value=IndexService.class)
public class IndexService
extends ResourceFinder

Service to index and find resources from the content graph.

Author:
tio

Constructor Summary
IndexService()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
 void addDefinitionVirtual(org.apache.clerezza.rdf.core.UriRef propertyType, java.util.List<VirtualProperty> predicates)
           
 void addDefintion(org.apache.clerezza.rdf.core.UriRef propertyType, java.util.List<org.apache.clerezza.rdf.core.UriRef> predicates)
           
protected  void deactivate(org.osgi.service.component.ComponentContext context)
           
 void deleteDefintion(org.apache.clerezza.rdf.core.UriRef propertyType)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(java.util.List<Condition> conditions)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(java.util.List<Condition> conditions, FacetCollector... facetCollectors)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(java.util.List<Condition> conditions, SortSpecification sortSpecification, FacetCollector... facetCollectors)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef, java.lang.String pattern)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef, java.lang.String pattern, boolean escapePattern)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef, java.lang.String pattern, boolean escapePattern, FacetCollector... facetCollectors)
           
 java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef, java.lang.String pattern, boolean escapePattern, SortSpecification sortSpecification, FacetCollector... facetCollectors)
           
 void optimizeIndex()
           
 void reCreateIndex()
           
 
Methods inherited from class org.apache.clerezza.rdf.cris.ResourceFinder
findResources, findResources, findResources, findResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexService

public IndexService()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(java.util.List<Condition> conditions,
                                                                             SortSpecification sortSpecification,
                                                                             FacetCollector... facetCollectors)
Specified by:
findResources in class ResourceFinder

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(java.util.List<Condition> conditions,
                                                                             FacetCollector... facetCollectors)
Overrides:
findResources in class ResourceFinder

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(java.util.List<Condition> conditions)
Overrides:
findResources in class ResourceFinder

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef,
                                                                             java.lang.String pattern)
Overrides:
findResources in class ResourceFinder

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef,
                                                                             java.lang.String pattern,
                                                                             boolean escapePattern)
Overrides:
findResources in class ResourceFinder

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef,
                                                                             java.lang.String pattern,
                                                                             boolean escapePattern,
                                                                             FacetCollector... facetCollectors)
Overrides:
findResources in class ResourceFinder

findResources

public java.util.List<org.apache.clerezza.rdf.core.NonLiteral> findResources(org.apache.clerezza.rdf.core.UriRef uriRef,
                                                                             java.lang.String pattern,
                                                                             boolean escapePattern,
                                                                             SortSpecification sortSpecification,
                                                                             FacetCollector... facetCollectors)
Overrides:
findResources in class ResourceFinder

reCreateIndex

public void reCreateIndex()
Specified by:
reCreateIndex in class ResourceFinder

optimizeIndex

public void optimizeIndex()
Specified by:
optimizeIndex in class ResourceFinder

addDefintion

public void addDefintion(org.apache.clerezza.rdf.core.UriRef propertyType,
                         java.util.List<org.apache.clerezza.rdf.core.UriRef> predicates)

addDefinitionVirtual

public void addDefinitionVirtual(org.apache.clerezza.rdf.core.UriRef propertyType,
                                 java.util.List<VirtualProperty> predicates)

deleteDefintion

public void deleteDefintion(org.apache.clerezza.rdf.core.UriRef propertyType)


Copyright © 2011. All Rights Reserved.