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,
com.complexible.stardog.graphql.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
|
com.complexible.stardog.graphql.GraphQLSchemaManager |
schemas()
Returns the manager for GraphQL schemas
|
add, admin, as, ask, ask, begin, close, commit, currentStatus, export, get, getConnection, getOption, graph, graph, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, size, transactions, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, admin, as, ask, ask, begin, close, commit, currentStatus, export, get, getOption, graph, graph, isOpen, isReasoningEnabled, name, namespaces, paths, paths, remove, rollback, select, select, size, transactions, update, updatepublic EmbeddedGraphQLConnection(KernelDatabaseConnection theConnection, com.complexible.stardog.graphql.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 com.complexible.stardog.graphql.GraphQLSchemaManager schemas()
GraphQLConnectionschemas in interface GraphQLConnectionprotected com.complexible.stardog.db.DatabaseConnection connect()
Copyright © 2010-2016 Stardog Union. All Rights Reserved.