Class DebugMemConnection

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.Connection, java.sql.Wrapper

    public class DebugMemConnection
    extends MemConnection
    A test only variant of MemConnection which allows the dataset to be changed on the fly
    • Constructor Detail

      • DebugMemConnection

        public DebugMemConnection()
                           throws java.sql.SQLException
        Creates a debug dataset connection
        Throws:
        java.sql.SQLException
      • DebugMemConnection

        public DebugMemConnection​(Dataset ds)
                           throws java.sql.SQLException
        Creates a debug dataset connection
        Parameters:
        ds - Dataset
        Throws:
        java.sql.SQLException
    • Method Detail

      • setJenaDataset

        public void setJenaDataset​(Dataset ds)
        Sets the Jena dataset in use
        Parameters:
        ds - Dataset