public class WrappedCapabilities extends Object implements Capabilities
Constructor and Description |
---|
WrappedCapabilities(Capabilities other) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAllowed()
Answer true if Graph::add() can be used to add at least some triples to
the graph.
|
boolean |
addAllowed(boolean everyTriple)
Answer true if Graph::add() can be used to add at least some triples to the
graph.
|
boolean |
canBeEmpty()
Answer true iff the graph can be completely empty.
|
boolean |
deleteAllowed()
Answer true iff Graph::delete() can be used to remove at least some triples
from the graph.
|
boolean |
deleteAllowed(boolean everyTriple)
Answer true if Graph::delete() can be used to remove at least some triples
from the graph.
|
boolean |
findContractSafe()
Answer true if the find() contract on the associated graph is "safe", ie,
can be used safely by the pretty-printer (we'll tighten up that definition).
|
boolean |
handlesLiteralTyping()
Answer true iff this graph compares literals for equality by value
in find() operations, rather just applying RDFTerm equality.
|
boolean |
iteratorRemoveAllowed()
Answer true iff the iterators returned from find support the .remove()
operation.
|
boolean |
sizeAccurate()
Answer true iff Graph::size() is accurate.
|
public WrappedCapabilities(Capabilities other)
public boolean sizeAccurate()
Capabilities
sizeAccurate
in interface Capabilities
public boolean addAllowed()
Capabilities
addAllowed
in interface Capabilities
public boolean deleteAllowed()
Capabilities
deleteAllowed
in interface Capabilities
public boolean addAllowed(boolean everyTriple)
Capabilities
addAllowed
in interface Capabilities
public boolean deleteAllowed(boolean everyTriple)
Capabilities
deleteAllowed
in interface Capabilities
public boolean iteratorRemoveAllowed()
Capabilities
iteratorRemoveAllowed
in interface Capabilities
public boolean canBeEmpty()
Capabilities
canBeEmpty
in interface Capabilities
public boolean findContractSafe()
Capabilities
findContractSafe
in interface Capabilities
public boolean handlesLiteralTyping()
Capabilities
GraphMem
.
TDB models have this effect because of canonicalization for certain datatypes and ranges, SDB models don't.handlesLiteralTyping
in interface Capabilities
Licenced under the Apache License, Version 2.0