Package org.apache.jena.graph.compose
Class Dyadic
- java.lang.Object
-
- org.apache.jena.graph.impl.GraphBase
-
- org.apache.jena.graph.compose.CompositionBase
-
- org.apache.jena.graph.compose.Dyadic
-
- All Implemented Interfaces:
Graph
,GraphWithPerform
- Direct Known Subclasses:
Difference
,DisjointUnion
,Intersection
,Union
public abstract class Dyadic extends CompositionBase
Base class for the two-operand composition operations; has two graphs L and R
-
-
Field Summary
-
Fields inherited from class org.apache.jena.graph.impl.GraphBase
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMIT
-
Fields inherited from interface org.apache.jena.graph.Graph
emptyGraph
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close this graph.boolean
dependsOn(Graph other)
Generic dependsOn, true iff it depends on either of the subgraphs.Graph
getL()
Answer the left (first) operand of this Dyadic.Graph
getR()
Answer the right (second) operand of this Dyadic.Union
union(Graph X)
-
Methods inherited from class org.apache.jena.graph.compose.CompositionBase
butNot, ifIn, ifIn, recording, reject, rejecting, rejecting
-
Methods inherited from class org.apache.jena.graph.impl.GraphBase
add, clear, contains, contains, delete, find, find, forTestingOnly_graphBaseFind, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, notifyAdd, notifyDelete, performAdd, performDelete, remove, size, toString, toString
-
-
-
-
Method Detail
-
close
public void close()
Description copied from class:GraphBase
Close this graph. Subgraphs may extend to discard resources.
-
dependsOn
public boolean dependsOn(Graph other)
Generic dependsOn, true iff it depends on either of the subgraphs.
-
getL
public Graph getL()
Answer the left (first) operand of this Dyadic.
-
getR
public Graph getR()
Answer the right (second) operand of this Dyadic.
-
-