Class DifferenceDatasetGraph

    • Method Detail

      • getDefaultGraph

        public Graph getDefaultGraph()
        Description copied from interface: DatasetGraph
        Get the default graph as a Jena Graph
      • getGraph

        public Graph getGraph​(Node graphNode)
        Description copied from interface: DatasetGraph
        Get the graph named by graphNode : returns null when there is no such graph. NB Whether a dataset contains a graph if there are no triples is not defined - see the specific implementation. Some datasets are "open" - they have all graphs even if no triples.
      • containsGraph

        public boolean containsGraph​(Node graphNode)
        Description copied from interface: DatasetGraph
        Does the DatasetGraph contain a specific named graph? Whether a dataset contains a graph if there are no triples is not defined - see the specific implementation. Some datasets are "open" - they have all graphs even if no triples and this returns true always.
        Returns:
        boolean
      • listGraphNodes

        public java.util.Iterator<Node> listGraphNodes()
        Description copied from interface: DatasetGraph
        Iterate over all names of named graphs
      • contains

        public boolean contains​(Node g,
                                Node s,
                                Node p,
                                Node o)
        Description copied from interface: DatasetGraph
        Test whether the dataset (including default graph) contains a quad - may include wildcards, Node.ANY or null