public class QuerySpec extends Object
Constructor and Description |
---|
QuerySpec(StatementPattern matchesPattern,
StatementPattern queryPattern,
StatementPattern propertyPattern,
StatementPattern scorePattern,
StatementPattern snippetPattern,
StatementPattern typePattern,
Resource subject,
String queryString,
URI propertyURI) |
Modifier and Type | Method and Description |
---|---|
StatementPattern |
getMatchesPattern() |
String |
getMatchesVariableName()
return the name of the bound variable that should match the query
|
StatementPattern |
getPropertyPattern() |
URI |
getPropertyURI() |
String |
getPropertyVariableName() |
StatementPattern |
getQueryPattern() |
String |
getQueryString()
return the literal expression of the query or null, if none set.
|
URI |
getQueryType()
the type of query, must equal
LuceneSailSchema.LUCENE_QUERY . |
StatementPattern |
getScorePattern() |
String |
getScoreVariableName()
The variable name associated with the query score
|
StatementPattern |
getSnippetPattern() |
String |
getSnippetVariableName() |
Resource |
getSubject() |
StatementPattern |
getTypePattern() |
String |
toString() |
public QuerySpec(StatementPattern matchesPattern, StatementPattern queryPattern, StatementPattern propertyPattern, StatementPattern scorePattern, StatementPattern snippetPattern, StatementPattern typePattern, Resource subject, String queryString, URI propertyURI)
public StatementPattern getMatchesPattern()
public String getMatchesVariableName()
public StatementPattern getQueryPattern()
public StatementPattern getPropertyPattern()
public String getPropertyVariableName()
public StatementPattern getScorePattern()
public String getScoreVariableName()
public StatementPattern getSnippetPattern()
public String getSnippetVariableName()
public StatementPattern getTypePattern()
public URI getQueryType()
LuceneSailSchema.LUCENE_QUERY
. A null type is
possible, but not valid.public Resource getSubject()
public String getQueryString()
public URI getPropertyURI()
null
Copyright © 2001-2016 Aduna. All Rights Reserved.