com.hp.hpl.jena.query.larq
Class LuceneSearch

java.lang.Object
  extended by com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
      extended by com.hp.hpl.jena.sparql.pfunction.PropertyFunctionEval
          extended by com.hp.hpl.jena.query.larq.LuceneSearch
All Implemented Interfaces:
PropertyFunction
Direct Known Subclasses:
textMatch

public abstract class LuceneSearch
extends PropertyFunctionEval

Base class for searching a IndexLARQ


Method Summary
 QueryIterator boundSubject(Binding binding, com.hp.hpl.jena.graph.Node match, Var score, java.lang.String searchString, long limit, float scoreLimit, ExecutionContext execCxt)
           
 void build(PropFuncArg argSubject, com.hp.hpl.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
          Called during query plan construction immediately after the construction of the property function instance.
 QueryIterator execEvaluated(Binding binding, PropFuncArg argSubject, com.hp.hpl.jena.graph.Node predicate, PropFuncArg argObject, ExecutionContext execCxt)
           
 QueryIterator varSubject(Binding binding, Var match, Var score, java.lang.String searchString, long limit, float scoreLimit, ExecutionContext execCxt)
           
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionEval
exec
 
Methods inherited from class com.hp.hpl.jena.sparql.pfunction.PropertyFunctionBase
exec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

build

public void build(PropFuncArg argSubject,
                  com.hp.hpl.jena.graph.Node predicate,
                  PropFuncArg argObject,
                  ExecutionContext execCxt)
Description copied from interface: PropertyFunction
Called during query plan construction immediately after the construction of the property function instance.

Specified by:
build in interface PropertyFunction
Overrides:
build in class PropertyFunctionBase
Parameters:
argSubject - The parsed argument(s) in the subject position
predicate - The extension URI (as a Node).
argObject - The parsed argument(s) in the object position
execCxt - Execution context

execEvaluated

public QueryIterator execEvaluated(Binding binding,
                                   PropFuncArg argSubject,
                                   com.hp.hpl.jena.graph.Node predicate,
                                   PropFuncArg argObject,
                                   ExecutionContext execCxt)
Specified by:
execEvaluated in class PropertyFunctionEval

varSubject

public QueryIterator varSubject(Binding binding,
                                Var match,
                                Var score,
                                java.lang.String searchString,
                                long limit,
                                float scoreLimit,
                                ExecutionContext execCxt)

boundSubject

public QueryIterator boundSubject(Binding binding,
                                  com.hp.hpl.jena.graph.Node match,
                                  Var score,
                                  java.lang.String searchString,
                                  long limit,
                                  float scoreLimit,
                                  ExecutionContext execCxt)


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.