java.lang.Object
org.apache.jena.graph.impl.AllCapabilities
- All Implemented Interfaces:
Capabilities
A default implementation of capabilities, in which add and delete are allowed,
size is accurate and literals are "same by term".
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
Answer true iffGraph.add(org.apache.jena.graph.Triple)
can be used to add at least some triples to the graph.static Capabilities
create
(boolean sizeAccurate, boolean addAllowed, boolean deleteAllowed, boolean handlesLiteralTyping) boolean
Answer true iffGraph.delete(org.apache.jena.graph.Triple)
can be used to remove at least some triples from the graph.boolean
Answer true iff this graph compares literals for equality by value in find() operations, rather than applying RDFTerm equality.boolean
Answer true iff Graph::size() is accurate.
-
Field Details
-
updateAllowed
-
updateNotAllowed
-
updateAllowedWithValues
-
-
Method Details
-
create
public static Capabilities create(boolean sizeAccurate, boolean addAllowed, boolean deleteAllowed, boolean handlesLiteralTyping) -
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 iffGraph.add(org.apache.jena.graph.Triple)
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 iffGraph.delete(org.apache.jena.graph.Triple)
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 than applying RDFTerm equality.- Specified by:
handlesLiteralTyping
in interfaceCapabilities
-