eu.larkc.core.data
Class RdfGraphDataSet
java.lang.Object
eu.larkc.core.data.RdfGraphBase
eu.larkc.core.data.RdfGraphDataSet
- All Implemented Interfaces:
- InformationSet, RdfGraph, SetOfStatements, java.io.Serializable
public class RdfGraphDataSet
- extends RdfGraphBase
- Author:
- vassil
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
RdfGraphDataSet
public RdfGraphDataSet(org.openrdf.model.URI graph,
SPARQLEndpoint endpoint)
- Constructor
- Parameters:
graph
- is the named of the named graphendpoint
- is endpoint which serves this named graph
getStatements
public CloseableIterator<org.openrdf.model.Statement> getStatements()
- Description copied from interface:
SetOfStatements
- Iterates the statements.
- Returns:
- closeableiterator over the statements.s
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toRDF
public SetOfStatements toRDF(SetOfStatements data)
- Description copied from interface:
InformationSet
- Serializes this object to SetOfStatements.
- Parameters:
data
- is stream to serialize this object to.
- Returns:
- reference to the set of statements that contains the serialized
data.