public class QuerySpec extends Object implements SearchQueryEvaluator
| Constructor and Description |
|---|
QuerySpec(org.eclipse.rdf4j.query.algebra.StatementPattern matchesPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern queryPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern propertyPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern scorePattern,
org.eclipse.rdf4j.query.algebra.StatementPattern snippetPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern typePattern,
org.eclipse.rdf4j.model.Resource subject,
String queryString,
org.eclipse.rdf4j.model.IRI propertyURI) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.rdf4j.query.algebra.StatementPattern |
getMatchesPattern() |
String |
getMatchesVariableName()
return the name of the bound variable that should match the query
|
org.eclipse.rdf4j.query.algebra.QueryModelNode |
getParentQueryModelNode() |
org.eclipse.rdf4j.query.algebra.StatementPattern |
getPropertyPattern() |
org.eclipse.rdf4j.model.IRI |
getPropertyURI() |
String |
getPropertyVariableName() |
org.eclipse.rdf4j.query.algebra.StatementPattern |
getQueryPattern() |
String |
getQueryString()
return the literal expression of the query or null, if none set.
|
org.eclipse.rdf4j.model.IRI |
getQueryType()
the type of query, must equal
LuceneSailSchema.LUCENE_QUERY. |
org.eclipse.rdf4j.query.algebra.StatementPattern |
getScorePattern() |
String |
getScoreVariableName()
The variable name associated with the query score
|
org.eclipse.rdf4j.query.algebra.StatementPattern |
getSnippetPattern() |
String |
getSnippetVariableName() |
org.eclipse.rdf4j.model.Resource |
getSubject() |
org.eclipse.rdf4j.query.algebra.StatementPattern |
getTypePattern() |
String |
toString() |
void |
updateQueryModelNodes(boolean hasResult) |
public QuerySpec(org.eclipse.rdf4j.query.algebra.StatementPattern matchesPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern queryPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern propertyPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern scorePattern,
org.eclipse.rdf4j.query.algebra.StatementPattern snippetPattern,
org.eclipse.rdf4j.query.algebra.StatementPattern typePattern,
org.eclipse.rdf4j.model.Resource subject,
String queryString,
org.eclipse.rdf4j.model.IRI propertyURI)
public org.eclipse.rdf4j.query.algebra.QueryModelNode getParentQueryModelNode()
getParentQueryModelNode in interface SearchQueryEvaluatorpublic void updateQueryModelNodes(boolean hasResult)
updateQueryModelNodes in interface SearchQueryEvaluatorpublic org.eclipse.rdf4j.query.algebra.StatementPattern getMatchesPattern()
public String getMatchesVariableName()
public org.eclipse.rdf4j.query.algebra.StatementPattern getQueryPattern()
public org.eclipse.rdf4j.query.algebra.StatementPattern getPropertyPattern()
public String getPropertyVariableName()
public org.eclipse.rdf4j.query.algebra.StatementPattern getScorePattern()
public String getScoreVariableName()
public org.eclipse.rdf4j.query.algebra.StatementPattern getSnippetPattern()
public String getSnippetVariableName()
public org.eclipse.rdf4j.query.algebra.StatementPattern getTypePattern()
public org.eclipse.rdf4j.model.IRI getQueryType()
LuceneSailSchema.LUCENE_QUERY. A null type is possible, but not
valid.public org.eclipse.rdf4j.model.Resource getSubject()
public String getQueryString()
public org.eclipse.rdf4j.model.IRI getPropertyURI()
nullCopyright © 2015-2016 Eclipse Foundation. All Rights Reserved.