public class TextSearchConfig extends Object
Modifier and Type | Field and Description |
---|---|
static com.hp.hpl.jena.rdf.model.Property |
DEFAULT_CONTENT_PROPERTY |
static com.hp.hpl.jena.rdf.model.Property |
JENA_TEXT_QUERY |
Constructor and Description |
---|
TextSearchConfig() |
TextSearchConfig(com.hp.hpl.jena.rdf.model.Resource endpoint)
Configure this TextSearchConfig according to the properties of the
given endpoint, which may be any of a SPARQL endpoint resource,
an APISpec resource, or an APIEndpoint resource.
|
Modifier and Type | Method and Description |
---|---|
com.hp.hpl.jena.rdf.model.Property |
getTextContentProperty()
Return the configured text content property, which defaults to
rdfs:label.
|
com.hp.hpl.jena.rdf.model.Property |
getTextQueryProperty()
Return the configured text query property, which defaults to
JENA_TEXT_SEARCH.
|
AnyList |
getTextSearchOperand()
Return the configured text search operand, or null if no operand
was configured.
|
TextSearchConfig |
overlay(com.hp.hpl.jena.rdf.model.Resource endpoint)
Answer a new TextSearchConfig whose content this this ones overlaid
with configurations from the given endpoint.
|
boolean |
placeEarly()
Returns true if text search properties should be ordered early,
false if they should be ordered late.
|
public static final com.hp.hpl.jena.rdf.model.Property JENA_TEXT_QUERY
public static final com.hp.hpl.jena.rdf.model.Property DEFAULT_CONTENT_PROPERTY
public TextSearchConfig(com.hp.hpl.jena.rdf.model.Resource endpoint)
public TextSearchConfig()
public TextSearchConfig overlay(com.hp.hpl.jena.rdf.model.Resource endpoint)
public com.hp.hpl.jena.rdf.model.Property getTextQueryProperty()
public com.hp.hpl.jena.rdf.model.Property getTextContentProperty()
public AnyList getTextSearchOperand()
public boolean placeEarly()
Copyright © 2014. All Rights Reserved.