public final class EmbeddedGraphQLConnection extends com.complexible.stardog.api.impl.DelegatingConnection implements GraphQLConnection, com.complexible.stardog.api.impl.GraphQLExecutor
Constructor and Description |
---|
EmbeddedGraphQLConnection(KernelDatabaseConnection theConnection,
GraphQLSchemaManager theSchemaManager) |
Modifier and Type | Method and Description |
---|---|
protected com.complexible.stardog.db.DatabaseConnection |
connect() |
graphql.ExecutionResult |
execute(GraphQLQuery theQuery) |
String |
explain(GraphQLQuery theQuery) |
GraphQLQuery |
graphql(String theQuery)
Create a GraphQL query against the database
|
GraphQLSchemaManager |
schemas()
Returns the manager for GraphQL schemas
|
add, admin, as, ask, ask, begin, close, commit, currentStatus, export, generateModel, get, getConnection, getOption, getSchema, graph, graph, graphAliases, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, selectPlan, selectPlan, size, transactions, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, admin, as, ask, ask, begin, close, commit, currentStatus, export, generateModel, get, getOption, getSchema, graph, graph, graphAliases, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, selectPlan, selectPlan, size, transactions, update, update
public EmbeddedGraphQLConnection(KernelDatabaseConnection theConnection, GraphQLSchemaManager theSchemaManager)
public GraphQLQuery graphql(String theQuery) throws StardogException
GraphQLConnection
graphql
in interface GraphQLConnection
theQuery
- the query stringStardogException
public graphql.ExecutionResult execute(GraphQLQuery theQuery) throws StardogException
execute
in interface com.complexible.stardog.api.impl.GraphQLExecutor
StardogException
public String explain(GraphQLQuery theQuery)
explain
in interface com.complexible.stardog.api.impl.GraphQLExecutor
public GraphQLSchemaManager schemas()
GraphQLConnection
schemas
in interface GraphQLConnection
protected com.complexible.stardog.db.DatabaseConnection connect()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.