Interface GraphQLConnection
-
- All Superinterfaces:
java.lang.AutoCloseable,Connection
public interface GraphQLConnection extends Connection
Extends the standard SNARL
Connectionexposing the GraphQL query support.- Since:
- 5.1
- Version:
- 5.1
- Author:
- Evren Sirin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GraphQLQuerygraphql(java.lang.String theQuery)Create a GraphQL query against the databaseGraphQLSchemaManagerschemas()Returns the manager for GraphQL schemas-
Methods inherited from interface com.complexible.stardog.api.Connection
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
-
-
-
-
Method Detail
-
graphql
GraphQLQuery graphql(java.lang.String theQuery)
Create a GraphQL query against the database- Parameters:
theQuery- the query string
-
schemas
GraphQLSchemaManager schemas()
Returns the manager for GraphQL schemas- Returns:
- the manager for GraphQL schemas
-
-