# Package com.complexible.stardog.api

package com.complexible.stardog.api
Provides the core SNARL (Stardog Native API for the RDF Language) classes and interfaces for programmatic access to the Stardog DBMS.

The SNARL `Connection` class provides the ability to manipulate data and perform SPARQL queries against a Stardog database. `AdminConnection` provides access to the administrative functions of Stardog.

A `Connection` can be created using `ConnectionConfiguration`:

       Connection aConn = ConnectionConfiguration
          .to("testConnectionAPI")
          .credentials("admin", "admin")
          .connect();

- Related Packages
  Package
  Description
  com.complexible.stardog
  com.complexible.stardog.api.admin
  SNARL API support for Stardog DBMS administration
  com.complexible.stardog.api.graphql
  Provides classes and interfaces for executing GraphQL over a Stardog database.
  com.complexible.stardog.api.reasoning
  Provides reasoning connection class for answering queries with reasoning results.
  com.complexible.stardog.api.search
  Provides classes and interfaces for performing free-text search over a Stardog database via the SNARL API.
  com.complexible.stardog.api.test
- Class
  Description
  AbstractConnectionConfiguration<T>
  Adder
  Interface for adding RDF to a Stardog database via a `connection`.
  BooleanQuery
  A boolean (ASK) SPARQL query.
  Connection
  Interface for a connection to a Stardog database.
  ConnectionConfiguration
  ConnectionCredentials
  This object is used to set the authentication mechanism on Stardog HTTP connections.
  ConnectionPool
  A pool of Stardog connections.
  ConnectionPoolConfig
  A configuration object for creating connection pools.
  ConnectionView<I extends Connection,O extends Connection>
  Interface to provide conversion of the 'view' of a connection to another type of connection.
  Driver
  The interface that any Driver must implement.
  DriverManager
  Service for obtaining instances of `Drivers` and `Connection` instances.
  DriverModule
  A `Module` interface for loading API drivers via Guice
  ExplainOptions
  Options supported for `Query.explain()` command.
  Exporter
  API for exporting RDF data in bulk from the server.
  Getter
  Interface for retrieving statements from a Stardog database.
  GraphQuery
  A SPARQL graph (describe or construct) query.
  IO
  IO interface for reading RDF data from various input sources.
  KernelAdminConnection
  LoginConnectionConfiguration<T>
  Interface representing connection options such as authentication credentials and the server to connect to.
  NamespacesInfo
  The namespaces stored in a database.
  NativeMemoryMonitor
  Monitors memory usage as reported by the underlying Operating System.
  PathQuery
  Query<T>
  Object for executing a query against a Stardog database.
  ReadQuery<T>
  A read-only query, ie a select, construct, graph or ask query.
  Remover
  Interface for an object which can remove RDF data from a Stardog database.
  SelectPlanQuery
  SelectQuery
  UpdateQuery
  A SPARQL Update query