public class SparqlQueryTransform extends Object implements Transformation<com.hp.hpl.jena.query.QueryExecution>
Constructor and Description |
---|
SparqlQueryTransform(InputStream query)
Construct a new SparqlQueryTransform from the data from
the InputStream
|
Modifier and Type | Method and Description |
---|---|
com.hp.hpl.jena.query.QueryExecution |
apply(RdfStream rdfStream)
Execute a transform on an rdf stream
|
boolean |
equals(Object other) |
InputStream |
getQuery()
Get the Query the transformation is using
|
int |
hashCode() |
SparqlQueryTransform |
newTransform(InputStream query) |
public SparqlQueryTransform(InputStream query)
query
- public com.hp.hpl.jena.query.QueryExecution apply(RdfStream rdfStream)
Transformation
apply
in interface com.google.common.base.Function<RdfStream,com.hp.hpl.jena.query.QueryExecution>
apply
in interface Transformation<com.hp.hpl.jena.query.QueryExecution>
public InputStream getQuery()
Transformation
getQuery
in interface Transformation<com.hp.hpl.jena.query.QueryExecution>
public SparqlQueryTransform newTransform(InputStream query)
newTransform
in interface Transformation<com.hp.hpl.jena.query.QueryExecution>
Copyright © 2013-2015 DuraSpace, Inc.. All Rights Reserved.