public class QuerySpec extends AbstractSearchQueryEvaluator
| 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) |
QuerySpec(String matchesVarName,
String propertyVarName,
String scoreVarName,
String snippetVarName,
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() |
boolean |
isEvaluable() |
org.eclipse.rdf4j.query.algebra.QueryModelNode |
removeQueryPatterns()
Removes the query patterns and returns a placeholder where the query results could be placed.
|
String |
toString() |
replaceQueryPatternsWithResultspublic 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()
public org.eclipse.rdf4j.query.algebra.QueryModelNode removeQueryPatterns()
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()
nullpublic boolean isEvaluable()
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.