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()
CapabilitiessizeAccurate in interface Capabilitiespublic boolean addAllowed()
CapabilitiesaddAllowed in interface Capabilitiespublic boolean deleteAllowed()
CapabilitiesdeleteAllowed in interface Capabilitiespublic boolean addAllowed(boolean everyTriple)
CapabilitiesaddAllowed in interface Capabilitiespublic boolean deleteAllowed(boolean everyTriple)
CapabilitiesdeleteAllowed in interface Capabilitiespublic boolean iteratorRemoveAllowed()
CapabilitiesiteratorRemoveAllowed in interface Capabilitiespublic boolean canBeEmpty()
CapabilitiescanBeEmpty in interface Capabilitiespublic boolean findContractSafe()
CapabilitiesfindContractSafe in interface Capabilitiespublic boolean handlesLiteralTyping()
CapabilitiesGraphMem.
TDB models have this effect because of canonicalization for certain datatypes and ranges, SDB models don't.handlesLiteralTyping in interface CapabilitiesLicenced under the Apache License, Version 2.0