Class 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AllCapabilities

        public AllCapabilities()
    • Method Detail

      • sizeAccurate

        public boolean sizeAccurate()
        Description copied from interface: Capabilities
        Answer true iff Graph::size() is accurate.
        Specified by:
        sizeAccurate in interface Capabilities
      • 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 interface Capabilities
      • 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 interface Capabilities
      • 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 to GraphMem. TDB models have this effect because of canonicalization for certain datatypes and ranges, SDB models don't.
        Specified by:
        handlesLiteralTyping in interface Capabilities