Class ConnectionsGroup

    • Method Detail

      • getPreviousStateConnection

        public SailConnection getPreviousStateConnection()
      • hasPreviousStateConnection

        public boolean hasPreviousStateConnection()
      • getSailSpecificValue

        public <T extends Value> T getSailSpecificValue​(T value,
                                                        ConnectionsGroup.StatementPosition statementPosition,
                                                        SailConnection connection)
        This method is a performance optimization for converting a more general value object, like RDF.TYPE, to the specific Value object that the underlying sail would use for that node. It uses a cache to avoid querying the store for the same value multiple times during the same validation.
        Type Parameters:
        T - the type of the value
        Parameters:
        value - the value object to be converted
        statementPosition - the position of the statement (subject, predicate, or object)
        connection - the SailConnection used to retrieve the specific Value object
        Returns:
        the specific Value object used by the underlying sail, or the original value if no specific Value is found
        Throws:
        SailException - if an error occurs while retrieving the specific Value object
      • getRdfsSubClassOfReasoner

        public RdfsSubClassOfReasoner getRdfsSubClassOfReasoner()
        Returns the RdfsSubClassOfReasoner if it is enabled. If it is not enabled this method will return null.
        Returns:
        RdfsSubClassOfReasoner or null
      • getStats

        public Stats getStats()
      • isSparqlValidation

        public boolean isSparqlValidation()
      • hasAddedStatements

        public boolean hasAddedStatements()