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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, 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, updatepublic EmbeddedGraphQLConnection(KernelDatabaseConnection theConnection, GraphQLSchemaManager theSchemaManager)
public GraphQLQuery graphql(String theQuery) throws StardogException
GraphQLConnectiongraphql in interface GraphQLConnectiontheQuery - the query stringStardogExceptionpublic graphql.ExecutionResult execute(GraphQLQuery theQuery) throws StardogException
execute in interface com.complexible.stardog.api.impl.GraphQLExecutorStardogExceptionpublic String explain(GraphQLQuery theQuery)
explain in interface com.complexible.stardog.api.impl.GraphQLExecutorpublic GraphQLSchemaManager schemas()
GraphQLConnectionschemas in interface GraphQLConnectionprotected com.complexible.stardog.db.DatabaseConnection connect()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.