public abstract class RDFAbstractCompoundIterator<COMPOUND,PROPERTY> extends RDFSparqlIterator<COMPOUND>
Modifier and Type | Field and Description |
---|---|
protected org.restlet.routing.Template |
compoundTemplate |
protected org.restlet.routing.Template |
conformerTemplate |
protected Hashtable<com.hp.hpl.jena.rdf.model.RDFNode,PROPERTY> |
lookup |
protected static String |
sparql |
baseReference, jenaModel, nextRecord, nextRecordNode, qe, record, recordIDVar, recordNode, reference, referer, resultSet
Constructor and Description |
---|
RDFAbstractCompoundIterator(InputStream in,
org.restlet.data.MediaType mediaType) |
RDFAbstractCompoundIterator(com.hp.hpl.jena.rdf.model.Model model,
String sparql) |
RDFAbstractCompoundIterator(org.restlet.data.Reference reference,
org.restlet.data.MediaType mediaType,
String referer) |
RDFAbstractCompoundIterator(org.restlet.data.Reference reference,
String referer) |
RDFAbstractCompoundIterator(org.restlet.representation.Representation representation,
org.restlet.data.MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected PROPERTY |
getProperty(com.hp.hpl.jena.rdf.model.RDFNode node) |
protected abstract RDFAbstractFeatureIterator<PROPERTY> |
getPropertyIterator(com.hp.hpl.jena.rdf.model.Model jenaModel) |
protected abstract COMPOUND |
newCompound(com.hp.hpl.jena.rdf.model.RDFNode node) |
protected abstract PROPERTY |
newProperty(com.hp.hpl.jena.rdf.model.RDFNode node) |
protected COMPOUND |
parse(com.hp.hpl.jena.query.QuerySolution querySolution,
COMPOUND record) |
void |
setBaseReference(org.restlet.data.Reference baseReference) |
protected abstract void |
setValue(COMPOUND record,
PROPERTY property,
double value) |
protected abstract void |
setValue(COMPOUND record,
PROPERTY property,
float value) |
protected abstract void |
setValue(COMPOUND record,
PROPERTY property,
int value) |
protected abstract void |
setValue(COMPOUND record,
PROPERTY property,
String value) |
close, finalize, getBaseReference, getJenaModel, getRecordURI, hasNext, isSameRecord, next, remove
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected org.restlet.routing.Template compoundTemplate
protected org.restlet.routing.Template conformerTemplate
protected static final String sparql
public RDFAbstractCompoundIterator(org.restlet.representation.Representation representation, org.restlet.data.MediaType mediaType) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFAbstractCompoundIterator(org.restlet.data.Reference reference, String referer) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFAbstractCompoundIterator(org.restlet.data.Reference reference, org.restlet.data.MediaType mediaType, String referer) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFAbstractCompoundIterator(InputStream in, org.restlet.data.MediaType mediaType) throws org.restlet.resource.ResourceException, MalformedURLException, IOException
org.restlet.resource.ResourceException
MalformedURLException
IOException
public RDFAbstractCompoundIterator(com.hp.hpl.jena.rdf.model.Model model, String sparql) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public void setBaseReference(org.restlet.data.Reference baseReference)
setBaseReference
in class RDFSparqlIterator<COMPOUND>
protected abstract RDFAbstractFeatureIterator<PROPERTY> getPropertyIterator(com.hp.hpl.jena.rdf.model.Model jenaModel)
protected abstract COMPOUND newCompound(com.hp.hpl.jena.rdf.model.RDFNode node)
protected COMPOUND parse(com.hp.hpl.jena.query.QuerySolution querySolution, COMPOUND record)
parse
in class RDFSparqlIterator<COMPOUND>
protected abstract PROPERTY newProperty(com.hp.hpl.jena.rdf.model.RDFNode node)
protected PROPERTY getProperty(com.hp.hpl.jena.rdf.model.RDFNode node)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.