Package org.apache.jena.graph.impl
Class AllCapabilities
- java.lang.Object
-
- org.apache.jena.graph.impl.AllCapabilities
-
- All Implemented Interfaces:
Capabilities
- Direct Known Subclasses:
BaseInfGraph.InfCapabilities
public class AllCapabilities extends java.lang.Object implements Capabilities
A default implementation of capabilities, in which everything is allowed, size is accurate, and graphs may be completely empty.
-
-
Constructor Summary
Constructors Constructor Description AllCapabilities()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAllowed()
Answer true if Graph::add() can be used to add at least some triples to the graph.boolean
deleteAllowed()
Answer true iff Graph::delete() can be used to remove at least some triples from the graph.boolean
handlesLiteralTyping()
Answer true iff this graph compares literals for equality by value in find() operations, rather just applying RDFTerm equality.boolean
sizeAccurate()
Answer true iff Graph::size() is accurate.
-
-
-
Method Detail
-
sizeAccurate
public boolean sizeAccurate()
Description copied from interface:Capabilities
Answer true iff Graph::size() is accurate.- Specified by:
sizeAccurate
in interfaceCapabilities
-
addAllowed
public boolean addAllowed()
Description copied from interface:Capabilities
Answer true if Graph::add() can be used to add at least some triples to the graph.- Specified by:
addAllowed
in interfaceCapabilities
-
deleteAllowed
public boolean deleteAllowed()
Description copied from interface:Capabilities
Answer true iff Graph::delete() can be used to remove at least some triples from the graph.- Specified by:
deleteAllowed
in interfaceCapabilities
-
handlesLiteralTyping
public boolean handlesLiteralTyping()
Description copied from interface:Capabilities
Answer 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:
handlesLiteralTyping
in interfaceCapabilities
-
-