public class LDPathTransform extends Object implements Transformation<Map<String,Collection<Object>>>
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_RDF_LDPATH |
static String |
CONFIGURATION_FOLDER |
| Constructor and Description |
|---|
LDPathTransform(InputStream query)
Construct a new Transform from the InputStream
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Collection<Object>> |
apply(com.hp.hpl.jena.query.Dataset dataset)
Execute a transform on a dataset
|
boolean |
equals(Object other) |
static LDPathTransform |
getNodeTypeTransform(javax.jcr.Node node,
String key)
Pull a node-type specific transform out of JCR
|
InputStream |
getQuery()
Get the Query the transformation is using
|
int |
hashCode() |
LDPathTransform |
newTransform(InputStream query) |
public static final String CONFIGURATION_FOLDER
public static final String APPLICATION_RDF_LDPATH
public LDPathTransform(InputStream query)
query - public static LDPathTransform getNodeTypeTransform(javax.jcr.Node node, String key) throws javax.jcr.RepositoryException
node - key - javax.jcr.RepositoryExceptionpublic Map<String,Collection<Object>> apply(com.hp.hpl.jena.query.Dataset dataset)
Transformationapply in interface com.google.common.base.Function<com.hp.hpl.jena.query.Dataset,Map<String,Collection<Object>>>apply in interface Transformation<Map<String,Collection<Object>>>public InputStream getQuery()
TransformationgetQuery in interface Transformation<Map<String,Collection<Object>>>public boolean equals(Object other)
public LDPathTransform newTransform(InputStream query)
newTransform in interface Transformation<Map<String,Collection<Object>>>Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.