public abstract class VirtualProperty extends Object
JoinVirtualProperty
,
PathVirtualProperty
,
PropertyHolder
Type | Property and Description |
---|---|
boolean |
isFacet |
Modifier | Constructor and Description |
---|---|
protected |
VirtualProperty(boolean facetProperty) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<UriRef> |
getBaseProperties()
Returns the properties this virtual property consists of.
|
String |
getStringKey()
Returns the key of this property.
|
int |
hashCode() |
boolean |
isFacetProperty() |
protected static String |
listDigest(List<VirtualProperty> properties) |
protected abstract 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 abstract List<String> |
value(GraphNode node)
Returns the value of this property.
|
public boolean isFacetProperty()
public String getStringKey()
public Set<UriRef> getBaseProperties()
protected static String listDigest(List<VirtualProperty> properties)
protected abstract List<String> value(GraphNode node)
node
- The node containing the original properties (where to get the literal value).protected abstract List<UriRef> pathToIndexedResource(UriRef property)
property
- the property.Copyright © 2014 The Apache Software Foundation. All Rights Reserved.