public class SubstanceRDFReporter<Q extends net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>> extends net.idea.restnet.db.convertors.QueryRDFReporter<SubstanceRecord,Q>
Modifier and Type | Field and Description |
---|---|
protected CompoundURIReporter |
compoundReporter |
protected com.fasterxml.jackson.databind.ObjectMapper |
dx |
protected PropertyURIReporter |
propertyReporter |
compoundInDatasetPrefix, mediaType, uriReporter
Constructor and Description |
---|
SubstanceRDFReporter(org.restlet.Request request,
org.restlet.data.MediaType mediaType) |
Modifier and Type | Method and Description |
---|---|
protected net.idea.restnet.db.QueryURIReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>> |
createURIReporter(org.restlet.Request req,
net.idea.restnet.c.ResourceDoc doc) |
void |
header(com.hp.hpl.jena.rdf.model.Model output,
Q query) |
protected void |
init() |
Object |
processItem(SubstanceRecord record) |
footer, getFileExtension, getJenaModel, setOutput
createBatch, getLicenseURI, getMaxRecords, getOutput, getProcessors, getStartTime, getTimeout, isAutoCommit, isShowFooter, isShowHeader, process, setAutoCommit, setCloseConnection, setLicenseURI, setMaxRecords, setProcessors, setShowFooter, setShowHeader, setStartTime, setTimeout, wrapup
close, getConnection, isCloseConnection, isEnabled, setConnection
addPropertyChangeListener, addPropertyChangeListener, getID, open, removePropertyChangeListener, removePropertyChangeListener, setEnabled, toString
protected PropertyURIReporter propertyReporter
protected CompoundURIReporter compoundReporter
protected com.fasterxml.jackson.databind.ObjectMapper dx
public SubstanceRDFReporter(org.restlet.Request request, org.restlet.data.MediaType mediaType)
protected void init()
public void header(com.hp.hpl.jena.rdf.model.Model output, Q query)
header
in class net.idea.restnet.db.convertors.QueryRDFReporter<SubstanceRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>>
protected net.idea.restnet.db.QueryURIReporter<SubstanceRecord,net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>> createURIReporter(org.restlet.Request req, net.idea.restnet.c.ResourceDoc doc)
createURIReporter
in class net.idea.restnet.db.convertors.QueryRDFReporter<SubstanceRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>>
public Object processItem(SubstanceRecord record) throws Exception
processItem
in class net.idea.modbcum.r.QueryAbstractReporter<SubstanceRecord,Q extends net.idea.modbcum.i.IQueryRetrieval<SubstanceRecord>,com.hp.hpl.jena.rdf.model.Model>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.