public class JoinVirtualProperty extends VirtualProperty
isFacetProperty
Constructor and Description |
---|
JoinVirtualProperty(List<VirtualProperty> properties)
Creates a JoinVirtualPorperty from the supplied properties
with facet search enabled.
|
JoinVirtualProperty(List<VirtualProperty> properties,
boolean facetProperty)
Creates a JoinVirtualPorperty from the supplied properties.
|
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. |
List<String> |
value(GraphNode node)
Returns the value of this property.
|
equals, getBaseProperties, getStringKey, hashCode, isFacetProperty, listDigest
public JoinVirtualProperty(List<VirtualProperty> properties)
properties
- the properties.public JoinVirtualProperty(List<VirtualProperty> properties, boolean facetProperty)
properties
- the properties.public 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.