public interface IndexPatternQuerier
IndexPatternQuerieris given a
BasicPatternfrom the SPARQL query to examine. It tells the query engine which part of the query that it handles. When the query engine executes the query, the
IndexPatternQuerieris fed the part of the query that it said it could handle, along with the query input and context up to that point. This allows for flexible indexes that can define their own storage and access policies for data in the query.
|Modifier and Type||Method and Description|
Estimate how selective this index would be for the given predicate.
Examine a pattern for handled content.
Execute the given pattern.
long estimate(com.hp.hpl.jena.sparql.core.BasicPattern pattern)
pattern- the pattern of triples to examine.
com.hp.hpl.jena.sparql.engine.QueryIterator query(com.hp.hpl.jena.sparql.core.BasicPattern pattern, com.hp.hpl.jena.sparql.engine.QueryIterator input, com.hp.hpl.jena.sparql.engine.ExecutionContext context)
pattern- the pattern to execute.
input- the query input.
context- the execution context.
com.hp.hpl.jena.sparql.core.BasicPattern examine(com.hp.hpl.jena.sparql.core.BasicPattern pattern)
pattern- a pattern to examine.
Copyright © 2001-2009 by BBN Technologies, Inc. All rights reserved. Use is subject to license terms. BBN® is a registered trademark of BBN Technologies, Inc. Parliament™ is a trademark of BBN Technologies, Inc.