public class GQLSchemaBuilderCache extends Object
| Constructor and Description |
|---|
GQLSchemaBuilderCache(GQLSchemaConfig schemaConfig)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLCodeRegistry.Builder |
getCodeRegistryBuilder() |
GQLSchemaConfig |
getConfig() |
graphql.schema.GraphQLOutputType |
getDeleteResultOutputObjectType() |
graphql.schema.GraphQLObjectType |
getEntityType(Class<?> entityClass)
Get cached
GraphQLObjectType by its related entity class |
String |
getEntityTypeName(Class<?> entityClass)
Get cached entity type name by its related entity class
|
graphql.schema.GraphQLEnumType |
getEnumType(Class<?> enumClass)
Get cached
GraphQLEnumType by its related enum class |
Map<Class<?>,graphql.schema.GraphQLEnumType> |
getEnumTypes() |
graphql.schema.GraphQLInputObjectType |
getInputEntityType(Class<?> entityClass)
Get cached input save entity type name by its related entity class
|
Map<Class<?>,graphql.schema.GraphQLInputObjectType> |
getInputEntityTypes() |
Map<Class<?>,graphql.schema.GraphQLInputObjectType> |
getInputEnumFilterOperators() |
Map<String,graphql.schema.GraphQLInputObjectType> |
getInputScalarFilterOperators() |
graphql.schema.GraphQLInterfaceType |
getInterfaceType(Class<?> entityClass)
Get cached
GraphQLInterfaceType by its related entity class |
Map<Class<?>,graphql.schema.GraphQLInterfaceType> |
getInterfaceTypes() |
org.slf4j.Logger |
getLogger() |
Map<Class<?>,graphql.schema.GraphQLObjectType> |
getObjectTypes() |
graphql.schema.GraphQLEnumType |
getOrderByDirectionEnumType() |
graphql.schema.GraphQLInputObjectType |
getOrderByInputObjectType() |
graphql.schema.GraphQLOutputType |
getOrderByOutputObjectType() |
graphql.schema.GraphQLInputObjectType |
getPagingInputObjectType() |
graphql.schema.GraphQLOutputType |
getPagingOutputObjectType() |
graphql.schema.GraphQLScalarType |
getScalarType(String scalarTypeCode)
Get cached
GraphQLScalarType by its related scalar type code |
Map<Class<?>,String> |
getTypeReferences() |
void |
setCodeRegistryBuilder(graphql.schema.GraphQLCodeRegistry.Builder codeRegistryBuilder) |
void |
setDeleteResultOutputObjectType(graphql.schema.GraphQLOutputType deleteResultOutputObjectType) |
void |
setOrderByDirectionEnumType(graphql.schema.GraphQLEnumType orderByDirectionEnumType) |
void |
setOrderByInputObjectType(graphql.schema.GraphQLInputObjectType orderByInputObjectType) |
void |
setOrderByOutputObjectType(graphql.schema.GraphQLOutputType orderByOutputObjectType) |
void |
setPagingInputObjectType(graphql.schema.GraphQLInputObjectType pagingInputObjectType) |
void |
setPagingOutputObjectType(graphql.schema.GraphQLOutputType pagingOutputObjectType) |
public GQLSchemaBuilderCache(GQLSchemaConfig schemaConfig)
schemaConfig - the GQLSchemaConfigpublic graphql.schema.GraphQLEnumType getEnumType(Class<?> enumClass)
GraphQLEnumType by its related enum classenumClass - the enum classGraphQLEnumTypeIllegalArgumentException - if not foundpublic graphql.schema.GraphQLObjectType getEntityType(Class<?> entityClass)
GraphQLObjectType by its related entity classentityClass - the entity classGraphQLObjectTypeIllegalArgumentException - if not foundpublic graphql.schema.GraphQLInterfaceType getInterfaceType(Class<?> entityClass)
GraphQLInterfaceType by its related entity classentityClass - the entity classGraphQLInterfaceTypeIllegalArgumentException - if not foundpublic graphql.schema.GraphQLScalarType getScalarType(String scalarTypeCode)
GraphQLScalarType by its related scalar type codescalarTypeCode - the scalar type codeGraphQLScalarTypeIllegalArgumentException - if not foundpublic String getEntityTypeName(Class<?> entityClass)
entityClass - the entity classIllegalArgumentException - if not foundpublic graphql.schema.GraphQLInputObjectType getInputEntityType(Class<?> entityClass)
entityClass - the entity classGraphQLInputObjectTypeIllegalArgumentException - if not foundpublic org.slf4j.Logger getLogger()
public Map<Class<?>,graphql.schema.GraphQLEnumType> getEnumTypes()
public Map<Class<?>,graphql.schema.GraphQLInterfaceType> getInterfaceTypes()
public Map<Class<?>,graphql.schema.GraphQLObjectType> getObjectTypes()
public Map<Class<?>,graphql.schema.GraphQLInputObjectType> getInputEntityTypes()
public graphql.schema.GraphQLEnumType getOrderByDirectionEnumType()
public void setOrderByDirectionEnumType(graphql.schema.GraphQLEnumType orderByDirectionEnumType)
orderByDirectionEnumType - the orderByDirectionEnumType to setpublic graphql.schema.GraphQLInputObjectType getPagingInputObjectType()
public void setPagingInputObjectType(graphql.schema.GraphQLInputObjectType pagingInputObjectType)
pagingInputObjectType - the pagingInputObjectType to setpublic graphql.schema.GraphQLInputObjectType getOrderByInputObjectType()
public void setOrderByInputObjectType(graphql.schema.GraphQLInputObjectType orderByInputObjectType)
orderByInputObjectType - the orderByInputObjectType to setpublic graphql.schema.GraphQLOutputType getPagingOutputObjectType()
public void setPagingOutputObjectType(graphql.schema.GraphQLOutputType pagingOutputObjectType)
pagingOutputObjectType - the pagingOutputObjectType to setpublic graphql.schema.GraphQLOutputType getOrderByOutputObjectType()
public Map<String,graphql.schema.GraphQLInputObjectType> getInputScalarFilterOperators()
public Map<Class<?>,graphql.schema.GraphQLInputObjectType> getInputEnumFilterOperators()
public graphql.schema.GraphQLCodeRegistry.Builder getCodeRegistryBuilder()
public void setCodeRegistryBuilder(graphql.schema.GraphQLCodeRegistry.Builder codeRegistryBuilder)
codeRegistryBuilder - the codeRegistryBuilder to setpublic graphql.schema.GraphQLOutputType getDeleteResultOutputObjectType()
public void setDeleteResultOutputObjectType(graphql.schema.GraphQLOutputType deleteResultOutputObjectType)
deleteResultOutputObjectType - the deleteResultOutputObjectType to setpublic void setOrderByOutputObjectType(graphql.schema.GraphQLOutputType orderByOutputObjectType)
orderByOutputObjectType - the orderByOutputObjectType to setpublic GQLSchemaConfig getConfig()
Copyright © 2019. All rights reserved.