Class ConnectionsGroup
- java.lang.Object
-
- org.eclipse.rdf4j.sail.shacl.wrapper.data.ConnectionsGroup
-
- All Implemented Interfaces:
java.lang.AutoCloseable
@InternalUseOnly public class ConnectionsGroup extends java.lang.Object implements java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnectionsGroup.RdfsSubClassOfReasonerProvider
-
Field Summary
Fields Modifier and Type Field Description private SailConnectionaddedStatementsprivate SailConnectionbaseConnectionprivate static org.slf4j.Loggerloggerprivate java.util.Map<PlanNode,BufferedSplitter>nodeCacheprivate SailConnectionpreviousStateConnectionprivate ConnectionsGroup.RdfsSubClassOfReasonerProviderrdfsSubClassOfReasonerProviderprivate SailConnectionremovedStatementsprivate booleansparqlValidationprivate Statsstatsprivate ShaclSailConnection.SettingstransactionSettings
-
Constructor Summary
Constructors Constructor Description ConnectionsGroup(SailConnection baseConnection, SailConnection previousStateConnection, Sail addedStatements, Sail removedStatements, Stats stats, ConnectionsGroup.RdfsSubClassOfReasonerProvider rdfsSubClassOfReasonerProvider, ShaclSailConnection.Settings transactionSettings, boolean sparqlValidation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()SailConnectiongetAddedStatements()SailConnectiongetBaseConnection()PlanNodegetCachedNodeFor(PlanNode planNode)SailConnectiongetPreviousStateConnection()RdfsSubClassOfReasonergetRdfsSubClassOfReasoner()SailConnectiongetRemovedStatements()StatsgetStats()ShaclSailConnection.SettingsgetTransactionSettings()booleanhasAddedStatements()booleanhasPreviousStateConnection()booleanisSparqlValidation()
-
-
-
Field Detail
-
logger
private static final org.slf4j.Logger logger
-
baseConnection
private final SailConnection baseConnection
-
previousStateConnection
private final SailConnection previousStateConnection
-
addedStatements
private final SailConnection addedStatements
-
removedStatements
private final SailConnection removedStatements
-
transactionSettings
private final ShaclSailConnection.Settings transactionSettings
-
stats
private final Stats stats
-
rdfsSubClassOfReasonerProvider
private final ConnectionsGroup.RdfsSubClassOfReasonerProvider rdfsSubClassOfReasonerProvider
-
sparqlValidation
private final boolean sparqlValidation
-
nodeCache
private final java.util.Map<PlanNode,BufferedSplitter> nodeCache
-
-
Constructor Detail
-
ConnectionsGroup
public ConnectionsGroup(SailConnection baseConnection, SailConnection previousStateConnection, Sail addedStatements, Sail removedStatements, Stats stats, ConnectionsGroup.RdfsSubClassOfReasonerProvider rdfsSubClassOfReasonerProvider, ShaclSailConnection.Settings transactionSettings, boolean sparqlValidation)
-
-
Method Detail
-
getPreviousStateConnection
public SailConnection getPreviousStateConnection()
-
hasPreviousStateConnection
public boolean hasPreviousStateConnection()
-
getAddedStatements
public SailConnection getAddedStatements()
-
getRemovedStatements
public SailConnection getRemovedStatements()
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
getBaseConnection
public SailConnection getBaseConnection()
-
getRdfsSubClassOfReasoner
public RdfsSubClassOfReasoner getRdfsSubClassOfReasoner()
-
getStats
public Stats getStats()
-
getTransactionSettings
public ShaclSailConnection.Settings getTransactionSettings()
-
isSparqlValidation
public boolean isSparqlValidation()
-
hasAddedStatements
public boolean hasAddedStatements()
-
-