|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.trippi.TriplestoreConnector
public abstract class TriplestoreConnector
Provides a TriplestoreReader
and/or
TriplestoreWriter
for a triplestore.
Constructor Summary | |
---|---|
TriplestoreConnector()
|
Method Summary | |
---|---|
abstract void |
close()
Release resources. |
void |
finalize()
Ensure close() gets called at garbage collection time. |
static ConnectorDescriptor |
getDescriptor(java.lang.String className)
|
abstract org.jrdf.graph.GraphElementFactory |
getElementFactory()
|
abstract TriplestoreReader |
getReader()
Get the reader. |
abstract TriplestoreWriter |
getWriter()
Get the writer. |
abstract void |
init(java.util.Map configuration)
Initialize this connector with the given configuration. |
static TriplestoreConnector |
init(java.lang.String className,
java.util.Map configuration)
Instantiate a named TriplestoreConnector. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriplestoreConnector()
Method Detail |
---|
public static TriplestoreConnector init(java.lang.String className, java.util.Map configuration) throws TrippiException, java.lang.ClassNotFoundException
TrippiException
java.lang.ClassNotFoundException
public static ConnectorDescriptor getDescriptor(java.lang.String className) throws TrippiException
TrippiException
public abstract void init(java.util.Map configuration) throws TrippiException
TrippiException
public abstract TriplestoreReader getReader()
public abstract TriplestoreWriter getWriter()
java.lang.UnsupportedOperationException
- if this connector does not support
triplestore modification.public abstract org.jrdf.graph.GraphElementFactory getElementFactory()
public abstract void close() throws TrippiException
TrippiException
public void finalize() throws TrippiException
finalize
in class java.lang.Object
TrippiException
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |