@PublicApi public class ExecutableNormalizedOperationFactory extends java.lang.Object
ExecutableNormalizedOperation
which represents what would be executed
during a given graphql operation.Modifier and Type | Class and Description |
---|---|
static class |
ExecutableNormalizedOperationFactory.Options |
Modifier and Type | Method and Description |
---|---|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperation(GraphQLSchema graphQLSchema,
Document document,
java.lang.String operationName,
CoercedVariables coercedVariableValues)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperation(GraphQLSchema graphQLSchema,
Document document,
java.lang.String operationName,
CoercedVariables coercedVariableValues,
ExecutableNormalizedOperationFactory.Options options)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperation(GraphQLSchema graphQLSchema,
OperationDefinition operationDefinition,
java.util.Map<java.lang.String,FragmentDefinition> fragments,
CoercedVariables coercedVariableValues)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperation(GraphQLSchema graphQLSchema,
OperationDefinition operationDefinition,
java.util.Map<java.lang.String,FragmentDefinition> fragments,
CoercedVariables coercedVariableValues,
ExecutableNormalizedOperationFactory.Options options)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema,
Document document,
java.lang.String operationName,
RawVariables rawVariables)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema,
Document document,
java.lang.String operationName,
RawVariables rawVariables,
ExecutableNormalizedOperationFactory.Options options)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
static ExecutableNormalizedOperation |
createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema,
Document document,
java.lang.String operationName,
RawVariables rawVariables,
GraphQLContext graphQLContext,
java.util.Locale locale)
This will create a runtime representation of the graphql operation that would be executed
in a runtime sense.
|
public static ExecutableNormalizedOperation createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, CoercedVariables coercedVariableValues)
graphQLSchema
- the schema to be useddocument
- the Document
holding the operation textoperationName
- the operation name to usecoercedVariableValues
- the coerced variables to usepublic static ExecutableNormalizedOperation createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, CoercedVariables coercedVariableValues, ExecutableNormalizedOperationFactory.Options options)
graphQLSchema
- the schema to be useddocument
- the Document
holding the operation textoperationName
- the operation name to usecoercedVariableValues
- the coerced variables to useoptions
- the ExecutableNormalizedOperationFactory.Options
to use for parsingpublic static ExecutableNormalizedOperation createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, java.util.Map<java.lang.String,FragmentDefinition> fragments, CoercedVariables coercedVariableValues)
graphQLSchema
- the schema to be usedoperationDefinition
- the operation to be executedfragments
- a set of fragments associated with the operationcoercedVariableValues
- the coerced variables to usepublic static ExecutableNormalizedOperation createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, java.util.Map<java.lang.String,FragmentDefinition> fragments, CoercedVariables coercedVariableValues, ExecutableNormalizedOperationFactory.Options options)
graphQLSchema
- the schema to be usedoperationDefinition
- the operation to be executedfragments
- a set of fragments associated with the operationcoercedVariableValues
- the coerced variables to usepublic static ExecutableNormalizedOperation createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, RawVariables rawVariables)
graphQLSchema
- the schema to be useddocument
- the Document
holding the operation textoperationName
- the operation name to userawVariables
- the raw variables to be coercedpublic static ExecutableNormalizedOperation createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, RawVariables rawVariables, GraphQLContext graphQLContext, java.util.Locale locale)
graphQLSchema
- the schema to be useddocument
- the Document
holding the operation textoperationName
- the operation name to userawVariables
- the raw variables that have not yet been coercedlocale
- the Locale
to use during coerciongraphQLContext
- the GraphQLContext
to use during coercionpublic static ExecutableNormalizedOperation createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, RawVariables rawVariables, ExecutableNormalizedOperationFactory.Options options)
graphQLSchema
- the schema to be useddocument
- the Document
holding the operation textoperationName
- the operation name to userawVariables
- the raw variables that have not yet been coercedoptions
- the ExecutableNormalizedOperationFactory.Options
to use for parsing