test_class.declarator: logger = LoggerFactory.getLogger(this.getClass())
test_class.modifier: protected final
test_class.original_string: protected final Logger logger = LoggerFactory.getLogger(this.getClass());
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: exception = ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException exception = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: exception
test_class.file: marklogic-rdf4j/src/test/java/com/marklogic/semantics/rdf4j/MarkLogicRepositoryTest.java
test_class.identifier: MarkLogicRepositoryTest
test_class.superclass: extends Rdf4jTestBase
test_case.body: @Test
      public void negativeTestRepo2()
              throws Exception {
  
          Repository rep = new MarkLogicRepository(host, port, new DatabaseClientFactory.DigestAuthContext(user, password));
          rep.initialize();
          rep.shutDown();
  
          // should throw error as we shutdown repo
          exception.expect(RepositoryException.class);
          exception.expectMessage("MarkLogicRepository not initialized.");
          @SuppressWarnings("unused")
          RepositoryConnection conn = rep.getConnection();
      }
test_case.class_method_signature: MarkLogicRepositoryTest.negativeTestRepo2()
test_case.full_signature: @Test public void negativeTestRepo2()
test_case.identifier: negativeTestRepo2
test_case.invocations: initialize shutDown expect expectMessage getConnection
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void negativeTestRepo2()
focal_class.declarator: logger = LoggerFactory.getLogger(MarkLogicRepository.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(MarkLogicRepository.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: client
focal_class.modifier: private
focal_class.original_string: private MarkLogicClient client;
focal_class.type: MarkLogicClient
focal_class.var_name: client
focal_class.declarator: host
focal_class.modifier: private
focal_class.original_string: private String host;
focal_class.type: String
focal_class.var_name: host
focal_class.declarator: port
focal_class.modifier: private
focal_class.original_string: private int port;
focal_class.type: int
focal_class.var_name: port
focal_class.declarator: user
focal_class.modifier: private
focal_class.original_string: private String user;
focal_class.type: String
focal_class.var_name: user
focal_class.declarator: password
focal_class.modifier: private
focal_class.original_string: private String password;
focal_class.type: String
focal_class.var_name: password
focal_class.declarator: auth
focal_class.modifier: private
focal_class.original_string: private String auth;
focal_class.type: String
focal_class.var_name: auth
focal_class.declarator: database
focal_class.modifier: private
focal_class.original_string: private String database;
focal_class.type: String
focal_class.var_name: database
focal_class.declarator: securityContext
focal_class.modifier: private
focal_class.original_string: private DatabaseClientFactory.SecurityContext securityContext;
focal_class.type: DatabaseClientFactory.SecurityContext
focal_class.var_name: securityContext
focal_class.declarator: quadMode
focal_class.modifier: private
focal_class.original_string: private boolean quadMode;
focal_class.type: boolean
focal_class.var_name: quadMode
focal_class.declarator: f
focal_class.modifier: private
focal_class.original_string: private ValueFactory f;
focal_class.type: ValueFactory
focal_class.var_name: f
focal_class.declarator: databaseClient
focal_class.modifier: private
focal_class.original_string: private DatabaseClient databaseClient;
focal_class.type: DatabaseClient
focal_class.var_name: databaseClient
focal_class.declarator: util = Util.getInstance()
focal_class.modifier: private
focal_class.original_string: private Util util = Util.getInstance();
focal_class.type: Util
focal_class.var_name: util
focal_class.file: marklogic-rdf4j/src/main/java/com/marklogic/semantics/rdf4j/MarkLogicRepository.java
focal_class.identifier: MarkLogicRepository
focal_class.interfaces: implements Repository,MarkLogicClientDependent
focal_class.class_method_signature: MarkLogicRepository.MarkLogicRepository(URL connectionString)
focal_class.full_signature: public  MarkLogicRepository(URL connectionString)
focal_class.identifier: MarkLogicRepository
focal_class.modifiers: public
focal_class.parameters: (URL connectionString)
focal_class.signature:  MarkLogicRepository(URL connectionString)
focal_class.class_method_signature: MarkLogicRepository.MarkLogicRepository(String host, int port, String user, String password, String auth)
focal_class.full_signature: @Deprecated public  MarkLogicRepository(String host, int port, String user, String password, String auth)
focal_class.identifier: MarkLogicRepository
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String host, int port, String user, String password, String auth)
focal_class.signature:  MarkLogicRepository(String host, int port, String user, String password, String auth)
focal_class.class_method_signature: MarkLogicRepository.MarkLogicRepository(String host, int port, String user, String password, String database, String auth)
focal_class.full_signature: @Deprecated public  MarkLogicRepository(String host, int port, String user, String password, String database, String auth)
focal_class.identifier: MarkLogicRepository
focal_class.modifiers: @Deprecated public
focal_class.parameters: (String host, int port, String user, String password, String database, String auth)
focal_class.signature:  MarkLogicRepository(String host, int port, String user, String password, String database, String auth)
focal_class.class_method_signature: MarkLogicRepository.MarkLogicRepository(String host, int port, DatabaseClientFactory.SecurityContext securityContext)
focal_class.full_signature: public  MarkLogicRepository(String host, int port, DatabaseClientFactory.SecurityContext securityContext)
focal_class.identifier: MarkLogicRepository
focal_class.modifiers: public
focal_class.parameters: (String host, int port, DatabaseClientFactory.SecurityContext securityContext)
focal_class.signature:  MarkLogicRepository(String host, int port, DatabaseClientFactory.SecurityContext securityContext)
focal_class.class_method_signature: MarkLogicRepository.MarkLogicRepository(String host, int port, String database, DatabaseClientFactory.SecurityContext securityContext)
focal_class.full_signature: public  MarkLogicRepository(String host, int port, String database, DatabaseClientFactory.SecurityContext securityContext)
focal_class.identifier: MarkLogicRepository
focal_class.modifiers: public
focal_class.parameters: (String host, int port, String database, DatabaseClientFactory.SecurityContext securityContext)
focal_class.signature:  MarkLogicRepository(String host, int port, String database, DatabaseClientFactory.SecurityContext securityContext)
focal_class.class_method_signature: MarkLogicRepository.MarkLogicRepository(DatabaseClient databaseClient)
focal_class.full_signature: public  MarkLogicRepository(DatabaseClient databaseClient)
focal_class.identifier: MarkLogicRepository
focal_class.modifiers: public
focal_class.parameters: (DatabaseClient databaseClient)
focal_class.signature:  MarkLogicRepository(DatabaseClient databaseClient)
focal_class.class_method_signature: MarkLogicRepository.getValueFactory()
focal_class.full_signature: public ValueFactory getValueFactory()
focal_class.identifier: getValueFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ValueFactory
focal_class.signature: ValueFactory getValueFactory()
focal_class.class_method_signature: MarkLogicRepository.setValueFactory(ValueFactory f)
focal_class.full_signature: public void setValueFactory(ValueFactory f)
focal_class.identifier: setValueFactory
focal_class.modifiers: public
focal_class.parameters: (ValueFactory f)
focal_class.return: void
focal_class.signature: void setValueFactory(ValueFactory f)
focal_class.class_method_signature: MarkLogicRepository.initializeInternal()
focal_class.full_signature: @Override @Deprecated protected void initializeInternal()
focal_class.identifier: initializeInternal
focal_class.modifiers: @Override @Deprecated protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initializeInternal()
focal_class.class_method_signature: MarkLogicRepository.shutDownInternal()
focal_class.full_signature: @Override @Deprecated protected void shutDownInternal()
focal_class.identifier: shutDownInternal
focal_class.modifiers: @Override @Deprecated protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shutDownInternal()
focal_class.class_method_signature: MarkLogicRepository.getDataDir()
focal_class.full_signature: @Override public File getDataDir()
focal_class.identifier: getDataDir
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getDataDir()
focal_class.class_method_signature: MarkLogicRepository.setDataDir(File dataDir)
focal_class.full_signature: @Override public void setDataDir(File dataDir)
focal_class.identifier: setDataDir
focal_class.modifiers: @Override public
focal_class.parameters: (File dataDir)
focal_class.return: void
focal_class.signature: void setDataDir(File dataDir)
focal_class.class_method_signature: MarkLogicRepository.isWritable()
focal_class.full_signature: @Override public boolean isWritable()
focal_class.identifier: isWritable
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isWritable()
focal_class.class_method_signature: MarkLogicRepository.getConnection()
focal_class.full_signature: @Override public MarkLogicRepositoryConnection getConnection()
focal_class.identifier: getConnection
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: MarkLogicRepositoryConnection
focal_class.signature: MarkLogicRepositoryConnection getConnection()
focal_class.class_method_signature: MarkLogicRepository.getMarkLogicClient()
focal_class.full_signature: @Override public synchronized MarkLogicClient getMarkLogicClient()
focal_class.identifier: getMarkLogicClient
focal_class.modifiers: @Override public synchronized
focal_class.parameters: ()
focal_class.return: MarkLogicClient
focal_class.signature: MarkLogicClient getMarkLogicClient()
focal_class.class_method_signature: MarkLogicRepository.setMarkLogicClient(MarkLogicClient client)
focal_class.full_signature: @Override public synchronized void setMarkLogicClient(MarkLogicClient client)
focal_class.identifier: setMarkLogicClient
focal_class.modifiers: @Override public synchronized
focal_class.parameters: (MarkLogicClient client)
focal_class.return: void
focal_class.signature: void setMarkLogicClient(MarkLogicClient client)
focal_class.class_method_signature: MarkLogicRepository.isQuadMode()
focal_class.full_signature: public boolean isQuadMode()
focal_class.identifier: isQuadMode
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isQuadMode()
focal_class.class_method_signature: MarkLogicRepository.setQuadMode(boolean quadMode)
focal_class.full_signature: public void setQuadMode(boolean quadMode)
focal_class.identifier: setQuadMode
focal_class.modifiers: public
focal_class.parameters: (boolean quadMode)
focal_class.return: void
focal_class.signature: void setQuadMode(boolean quadMode)
focal_class.superclass: extends AbstractRepository
focal_method.body: @Override
      public MarkLogicRepositoryConnection getConnection()
              throws RepositoryException {
          if (!isInitialized()) {
              throw new RepositoryException("MarkLogicRepository not initialized.");
          }
          return new MarkLogicRepositoryConnection(this, getMarkLogicClient(), quadMode);
      }
focal_method.class_method_signature: MarkLogicRepository.getConnection()
focal_method.full_signature: @Override public MarkLogicRepositoryConnection getConnection()
focal_method.identifier: getConnection
focal_method.invocations: isInitialized getMarkLogicClient
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: MarkLogicRepositoryConnection
focal_method.signature: MarkLogicRepositoryConnection getConnection()