public class SchemaFactory extends Object
| Constructor and Description |
|---|
SchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
static graphql.schema.GraphQLSchema |
newDdlSchema(AuthenticationService authenticationService,
AuthorizationService authorizationService,
DataStoreFactory dataStoreFactory)
Builds the GraphQL schema to manipulate the Cassandra data model, in other words create, remove
or alter keyspaces, tables, etc.
|
static graphql.schema.GraphQLSchema |
newDmlSchema(AuthenticationService authenticationService,
AuthorizationService authorizationService,
Keyspace keyspace,
DataStoreFactory dataStoreFactory)
Builds the GraphQL schema to query and modify data for a particular CQL keyspace.
|
public static graphql.schema.GraphQLSchema newDmlSchema(AuthenticationService authenticationService, AuthorizationService authorizationService, Keyspace keyspace, DataStoreFactory dataStoreFactory)
This is the API exposed at /graphql/<keyspaceName>.
public static graphql.schema.GraphQLSchema newDdlSchema(AuthenticationService authenticationService, AuthorizationService authorizationService, DataStoreFactory dataStoreFactory)
This is the API exposed at /graphql-schema.
Copyright © 2021. All rights reserved.