public class SchemaFactory extends Object
| Constructor and Description |
|---|
SchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
static graphql.schema.GraphQLSchema |
newDdlSchema()
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(io.stargate.bridge.proto.Schema.CqlKeyspaceDescribe describe)
Builds the GraphQL schema to query and modify data for a particular CQL keyspace.
|
public static graphql.schema.GraphQLSchema newDmlSchema(io.stargate.bridge.proto.Schema.CqlKeyspaceDescribe describe)
This is the API exposed at /graphql/<keyspaceName>.
public static graphql.schema.GraphQLSchema newDdlSchema()
This is the API exposed at /graphql-schema.
Copyright © 2022. All rights reserved.