public class PropertyHolder extends VirtualProperty
isFacetProperty
Constructor and Description |
---|
PropertyHolder(UriRef property)
Creates a new PropertyHolder that wraps an RDF property with facet
search enabled.
|
PropertyHolder(UriRef property,
boolean facetProperty)
Creates a new PropertyHolder that wraps an RDF property.
|
Modifier and Type | Method and Description |
---|---|
protected List<UriRef> |
pathToIndexedResource(UriRef property)
The shortest path of inverse RDF properties from property to the indexed resource, this is an
empty List for PropertyHolders, for properties in a PathVirtualProperties this is a list with the elements
passed to its constructor till the first occurrence of property in reverse order.
This method just returns the shortest path as virtual properties with the same base property in different positions are assumed to be very rare. |
protected List<String> |
value(GraphNode node)
Returns the value of this property.
|
equals, getBaseProperties, getStringKey, hashCode, isFacetProperty, listDigest
public PropertyHolder(UriRef property)
property
- the property to wrap.public PropertyHolder(UriRef property, boolean facetProperty)
property
- the property to wrap.protected List<String> value(GraphNode node)
VirtualProperty
value
in class VirtualProperty
node
- The node containing the original properties (where to get the literal value).protected List<UriRef> pathToIndexedResource(UriRef property)
VirtualProperty
pathToIndexedResource
in class VirtualProperty
property
- the property.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.