public class GraphQLSchemaBuilder
extends graphql.schema.GraphQLSchema.Builder
GraphQLSchema.Builder. In addition to exposing the traditional builder functionality,
this class constructs an initial GraphQLSchema by scanning the given EntityManager for relevant
JPA entities. This happens at construction time.
Note: This class should not be accessed outside this library.
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
PAGINATION_REQUEST_PARAM_NAME |
| 构造器和说明 |
|---|
GraphQLSchemaBuilder(MetaDataService metaDataService,
com.centit.support.database.utils.DataSourceDescription databaseId)
Initialises the builder with the given
EntityManager from which we immediately start to scan for
entities to include in the GraphQL schema. |
| 限定符和类型 | 方法和说明 |
|---|---|
graphql.schema.GraphQLSchema |
getGraphQLSchema()
已过时。
Use
GraphQLSchema.Builder.build() instead. |
public GraphQLSchemaBuilder(MetaDataService metaDataService, com.centit.support.database.utils.DataSourceDescription databaseId)
EntityManager from which we immediately start to scan for
entities to include in the GraphQL schema.metaDataService - MetaDataService The manager containing the data models to include in the final GraphQL schema.databaseId - 数据库id@Deprecated public graphql.schema.GraphQLSchema getGraphQLSchema()
GraphQLSchema.Builder.build() instead.GraphQLSchemaCopyright © 2020 Centit Information Technical, co. Inc.. All rights reserved.