Interface GraphQLConnection
-
- All Superinterfaces:
java.lang.AutoCloseable
,Connection
public interface GraphQLConnection extends Connection
Extends the standard SNARL
Connection
exposing 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 GraphQLQuery
graphql(java.lang.String theQuery)
Create a GraphQL query against the databaseGraphQLSchemaManager
schemas()
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
-
-