Class ConnectionsGroup

java.lang.Object
org.eclipse.rdf4j.sail.shacl.wrapper.data.ConnectionsGroup
All Implemented Interfaces:
AutoCloseable

@InternalUseOnly public class ConnectionsGroup extends Object implements AutoCloseable
  • Constructor Details Link icon

  • Method Details Link icon

    • getPreviousStateConnection Link icon

      public SailConnection getPreviousStateConnection()
    • hasPreviousStateConnection Link icon

      public boolean hasPreviousStateConnection()
    • getAddedStatements Link icon

      public SailConnection getAddedStatements()
    • getRemovedStatements Link icon

      public SailConnection getRemovedStatements()
    • getSailSpecificValue Link icon

      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
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getBaseConnection Link icon

      public SailConnection getBaseConnection()
    • getCachedNodeFor Link icon

      public PlanNode getCachedNodeFor(PlanNode planNode)
    • getRdfsSubClassOfReasoner Link icon

      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 Link icon

      public Stats getStats()
    • getTransactionSettings Link icon

      public ShaclSailConnection.Settings getTransactionSettings()
    • isSparqlValidation Link icon

      public boolean isSparqlValidation()
    • hasAddedStatements Link icon

      public boolean hasAddedStatements()