public class LDPathTransform extends Object implements Transformation<List<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 |
---|---|
List<Map<String,Collection<Object>>> |
apply(RdfStream stream)
Execute a transform on an rdf stream
|
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.RepositoryException
public List<Map<String,Collection<Object>>> apply(RdfStream stream)
Transformation
apply
in interface com.google.common.base.Function<RdfStream,List<Map<String,Collection<Object>>>>
apply
in interface Transformation<List<Map<String,Collection<Object>>>>
public InputStream getQuery()
Transformation
getQuery
in interface Transformation<List<Map<String,Collection<Object>>>>
public LDPathTransform newTransform(InputStream query)
newTransform
in interface Transformation<List<Map<String,Collection<Object>>>>
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.