java.lang.Object
org.apache.jena.graph.impl.AllCapabilities
- All Implemented Interfaces:
Capabilities
- Direct Known Subclasses:
BaseInfGraph.InfCapabilities
A default implementation of capabilities, in which everything is allowed,
size is accurate, and graphs may be completely empty.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnswer true iffGraph.add(org.apache.jena.graph.Triple)can be used to add at least some triples to the graph.booleanAnswer true iffGraph.delete(org.apache.jena.graph.Triple)can be used to remove at least some triples from the graph.booleanAnswer true iff this graph compares literals for equality by value in find() operations, rather just applying RDFTerm equality.booleanAnswer true iff Graph::size() is accurate.
-
Constructor Details
-
AllCapabilities
public AllCapabilities()
-
-
Method Details
-
sizeAccurate
public boolean sizeAccurate()Description copied from interface:CapabilitiesAnswer true iff Graph::size() is accurate.- Specified by:
sizeAccuratein interfaceCapabilities
-
addAllowed
public boolean addAllowed()Description copied from interface:CapabilitiesAnswer true iffGraph.add(org.apache.jena.graph.Triple)can be used to add at least some triples to the graph.- Specified by:
addAllowedin interfaceCapabilities
-
deleteAllowed
public boolean deleteAllowed()Description copied from interface:CapabilitiesAnswer true iffGraph.delete(org.apache.jena.graph.Triple)can be used to remove at least some triples from the graph.- Specified by:
deleteAllowedin interfaceCapabilities
-
handlesLiteralTyping
public boolean handlesLiteralTyping()Description copied from interface:CapabilitiesAnswer true iff this graph compares literals for equality by value in find() operations, rather just applying RDFTerm equality. Only applies toGraphMem. TDB models have this effect because of canonicalization for certain datatypes and ranges, SDB models don't.- Specified by:
handlesLiteralTypingin interfaceCapabilities
-