Uses of Class
graphql.normalized.ExecutableNormalizedField
-
Packages that use ExecutableNormalizedField Package Description graphql.execution graphql.normalized graphql.schema -
-
Uses of ExecutableNormalizedField in graphql.execution
Methods in graphql.execution that return types with arguments of type ExecutableNormalizedField Modifier and Type Method Description protected java.util.function.Supplier<ExecutableNormalizedField>
ExecutionStrategy. getNormalizedField(ExecutionContext executionContext, ExecutionStrategyParameters parameters, java.util.function.Supplier<ExecutionStepInfo> executionStepInfo)
-
Uses of ExecutableNormalizedField in graphql.normalized
Fields in graphql.normalized declared as ExecutableNormalizedField Modifier and Type Field Description private ExecutableNormalizedField
ExecutableNormalizedField.Builder. parent
private ExecutableNormalizedField
ExecutableNormalizedField. parent
(package private) ExecutableNormalizedField
FieldCollectorNormalizedQueryParams.PossibleMerger. parent
Fields in graphql.normalized with type parameters of type ExecutableNormalizedField Modifier and Type Field Description private java.util.ArrayList<ExecutableNormalizedField>
ExecutableNormalizedField.Builder. children
private java.util.ArrayList<ExecutableNormalizedField>
ExecutableNormalizedField. children
private java.util.Collection<ExecutableNormalizedField>
ExecutableNormalizedOperationFactory.CollectNFResult. children
private com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField>
ExecutableNormalizedOperation. coordinatesToNormalizedFields
private com.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField>
ExecutableNormalizedOperation. fieldToNormalizedField
private com.google.common.collect.ImmutableListMultimap<ExecutableNormalizedField,ExecutableNormalizedOperationFactory.FieldAndAstParent>
ExecutableNormalizedOperationFactory.CollectNFResult. normalizedFieldToAstFields
private java.util.Map<ExecutableNormalizedField,MergedField>
ExecutableNormalizedOperation. normalizedFieldToMergedField
private java.util.Map<ExecutableNormalizedField,QueryDirectives>
ExecutableNormalizedOperation. normalizedFieldToQueryDirectives
private java.util.List<ExecutableNormalizedField>
ExecutableNormalizedOperation. topLevelFields
Methods in graphql.normalized that return ExecutableNormalizedField Modifier and Type Method Description ExecutableNormalizedField
ExecutableNormalizedField.Builder. build()
private ExecutableNormalizedField
ExecutableNormalizedOperationFactory. createNF(FieldCollectorNormalizedQueryParams parameters, ExecutableNormalizedOperationFactory.CollectedFieldGroup collectedFieldGroup, int level, ExecutableNormalizedField parent)
ExecutableNormalizedField
ExecutableNormalizedOperation. getNormalizedField(MergedField mergedField, GraphQLFieldsContainer fieldsContainer, ResultPath resultPath)
This will find aExecutableNormalizedField
given a merged field and a result path.ExecutableNormalizedField
ExecutableNormalizedField. getParent()
ExecutableNormalizedField
ExecutableNormalizedField. transform(java.util.function.Consumer<ExecutableNormalizedField.Builder> builderConsumer)
Allows thisExecutableNormalizedField
to be transformed via aExecutableNormalizedField.Builder
consumer callbackMethods in graphql.normalized that return types with arguments of type ExecutableNormalizedField Modifier and Type Method Description java.util.List<ExecutableNormalizedField>
ExecutableNormalizedField. getChildren()
java.util.List<ExecutableNormalizedField>
ExecutableNormalizedField. getChildren(int includingRelativeLevel)
java.util.List<ExecutableNormalizedField>
ExecutableNormalizedField. getChildren(java.lang.String objectTypeName)
This returns the child fields that can be used if the object is of the specified object typejava.util.List<ExecutableNormalizedField>
ExecutableNormalizedField. getChildrenWithSameResultKey(java.lang.String resultKey)
Returns the list of child fields that would have the same result keycom.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField>
ExecutableNormalizedOperation. getCoordinatesToNormalizedFields()
This multimap shows how a givenExecutableNormalizedField
maps to a one or more field coordinate in the schemacom.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField>
ExecutableNormalizedOperation. getFieldToNormalizedField()
This is a multimap and the size of it reflects all the normalized fields in the operationjava.util.List<ExecutableNormalizedField>
ExecutableNormalizedOperation. getNormalizedFields(Field field)
Looks up one or moreExecutableNormalizedField
s given aField
AST element in the operationjava.util.Map<ExecutableNormalizedField,MergedField>
ExecutableNormalizedOperation. getNormalizedFieldToMergedField()
java.util.Map<ExecutableNormalizedField,QueryDirectives>
ExecutableNormalizedOperation. getNormalizedFieldToQueryDirectives()
java.util.List<ExecutableNormalizedField>
ExecutableNormalizedOperation. getTopLevelFields()
Methods in graphql.normalized with parameters of type ExecutableNormalizedField Modifier and Type Method Description void
ExecutableNormalizedField. addChild(ExecutableNormalizedField executableNormalizedField)
void
FieldCollectorNormalizedQueryParams. addPossibleMergers(ExecutableNormalizedField parent, java.lang.String resultKey)
private static Value<?>
ExecutableNormalizedOperationToAstCompiler. argValue(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, @Nullable java.lang.Object value, VariableAccumulator variableAccumulator)
private static @NotNull Value<?>
ExecutableNormalizedOperationToAstCompiler. argValue(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, NormalizedInputValue normalizedInputValue, VariableAccumulator variableAccumulator)
private void
ExecutableNormalizedOperationFactory. buildFieldWithChildren(ExecutableNormalizedField executableNormalizedField, com.google.common.collect.ImmutableList<ExecutableNormalizedOperationFactory.FieldAndAstParent> fieldAndAstParents, FieldCollectorNormalizedQueryParams fieldCollectorNormalizedQueryParams, com.google.common.collect.ImmutableListMultimap.Builder<Field,ExecutableNormalizedField> fieldNormalizedField, java.util.function.BiConsumer<ExecutableNormalizedField,MergedField> captureMergedField, com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields, int curLevel, int maxLevel)
ExecutableNormalizedOperationFactory.CollectNFResult
ExecutableNormalizedOperationFactory. collectFromMergedField(FieldCollectorNormalizedQueryParams parameters, ExecutableNormalizedField executableNormalizedField, com.google.common.collect.ImmutableList<ExecutableNormalizedOperationFactory.FieldAndAstParent> mergedField, int level)
private static boolean
ENFMerger. compareWithoutChildren(ExecutableNormalizedField one, ExecutableNormalizedField two)
private static java.util.List<Argument>
ExecutableNormalizedOperationToAstCompiler. createArguments(ExecutableNormalizedField executableNormalizedField, VariableAccumulator variableAccumulator)
private ExecutableNormalizedField
ExecutableNormalizedOperationFactory. createNF(FieldCollectorNormalizedQueryParams parameters, ExecutableNormalizedOperationFactory.CollectedFieldGroup collectedFieldGroup, int level, ExecutableNormalizedField parent)
private void
ExecutableNormalizedOperationFactory. createNFs(com.google.common.collect.ImmutableList.Builder<ExecutableNormalizedField> nfListBuilder, FieldCollectorNormalizedQueryParams parameters, java.util.Map<java.lang.String,java.util.List<ExecutableNormalizedOperationFactory.CollectedField>> fieldsByName, com.google.common.collect.ImmutableListMultimap.Builder<ExecutableNormalizedField,ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields, int level, ExecutableNormalizedField parent)
private static @NotNull GraphQLFieldDefinition
ExecutableNormalizedOperationToAstCompiler. getFieldDefinition(GraphQLSchema schema, java.lang.String parentType, ExecutableNormalizedField nf)
MergedField
ExecutableNormalizedOperation. getMergedField(ExecutableNormalizedField executableNormalizedField)
Looks up theMergedField
given aExecutableNormalizedField
QueryDirectives
ExecutableNormalizedOperation. getQueryDirectives(ExecutableNormalizedField executableNormalizedField)
This looks up theQueryDirectives
associated with the givenExecutableNormalizedField
private static boolean
ENFMerger. isContained(ExecutableNormalizedField searchFor, java.util.Set<ExecutableNormalizedField> set)
private static boolean
ENFMerger. isFieldInSharedInterface(ExecutableNormalizedField fieldOne, ExecutableNormalizedField fieldTwo, GraphQLSchema schema)
static void
ENFMerger. merge(ExecutableNormalizedField parent, java.util.List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema)
ExecutableNormalizedField.Builder
ExecutableNormalizedField.Builder. parent(ExecutableNormalizedField parent)
void
ExecutableNormalizedField. replaceParent(ExecutableNormalizedField newParent)
private static java.util.Map<java.lang.String,Field>
ExecutableNormalizedOperationToAstCompiler. selectionForNormalizedField(GraphQLSchema schema, ExecutableNormalizedField executableNormalizedField, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)
private static Field
ExecutableNormalizedOperationToAstCompiler. selectionForNormalizedField(GraphQLSchema schema, java.lang.String objectTypeName, ExecutableNormalizedField executableNormalizedField, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)
boolean
VariableAccumulator. shouldMakeVariable(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, NormalizedInputValue normalizedInputValue)
boolean
VariablePredicate. shouldMakeVariable(ExecutableNormalizedField executableNormalizedField, java.lang.String argName, NormalizedInputValue normalizedInputValue)
Return true if a variable should be made for this field argumentprivate void
ExecutableNormalizedField. traverseImpl(ExecutableNormalizedField root, java.util.function.Consumer<ExecutableNormalizedField> consumer, int curRelativeLevel, int abortAfter)
private void
ExecutableNormalizedOperationFactory. updateCoordinatedToNFMap(com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields, ExecutableNormalizedField topLevel)
private void
ExecutableNormalizedOperationFactory. updateFieldToNFMap(ExecutableNormalizedField executableNormalizedField, com.google.common.collect.ImmutableList<ExecutableNormalizedOperationFactory.FieldAndAstParent> mergedField, com.google.common.collect.ImmutableListMultimap.Builder<Field,ExecutableNormalizedField> fieldToNormalizedField)
Method parameters in graphql.normalized with type arguments of type ExecutableNormalizedField Modifier and Type Method Description private static boolean
ENFMerger. areFieldSetsTheSame(java.util.List<java.util.Set<ExecutableNormalizedField>> listOfSets)
private void
ExecutableNormalizedOperationFactory. buildFieldWithChildren(ExecutableNormalizedField executableNormalizedField, com.google.common.collect.ImmutableList<ExecutableNormalizedOperationFactory.FieldAndAstParent> fieldAndAstParents, FieldCollectorNormalizedQueryParams fieldCollectorNormalizedQueryParams, com.google.common.collect.ImmutableListMultimap.Builder<Field,ExecutableNormalizedField> fieldNormalizedField, java.util.function.BiConsumer<ExecutableNormalizedField,MergedField> captureMergedField, com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields, int curLevel, int maxLevel)
private void
ExecutableNormalizedOperationFactory. buildFieldWithChildren(ExecutableNormalizedField executableNormalizedField, com.google.common.collect.ImmutableList<ExecutableNormalizedOperationFactory.FieldAndAstParent> fieldAndAstParents, FieldCollectorNormalizedQueryParams fieldCollectorNormalizedQueryParams, com.google.common.collect.ImmutableListMultimap.Builder<Field,ExecutableNormalizedField> fieldNormalizedField, java.util.function.BiConsumer<ExecutableNormalizedField,MergedField> captureMergedField, com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields, int curLevel, int maxLevel)
ExecutableNormalizedField.Builder
ExecutableNormalizedField.Builder. children(java.util.List<ExecutableNormalizedField> children)
private static boolean
ENFMerger. compareTwoFieldSets(java.util.Set<ExecutableNormalizedField> setOne, java.util.Set<ExecutableNormalizedField> setTwo)
static ExecutableNormalizedOperationToAstCompiler.CompilerResult
ExecutableNormalizedOperationToAstCompiler. compileToDocument(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable java.lang.String operationName, @NotNull java.util.List<ExecutableNormalizedField> topLevelFields, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, @Nullable VariablePredicate variablePredicate)
This will compile an operation textDocument
with possibly variables from the givenExecutableNormalizedField
s TheVariablePredicate
is used called to decide if the given argument values should be made into a variable OR inlined into the operation text as a graphql literal.static ExecutableNormalizedOperationToAstCompiler.CompilerResult
ExecutableNormalizedOperationToAstCompiler. compileToDocument(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable java.lang.String operationName, @NotNull java.util.List<ExecutableNormalizedField> topLevelFields, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, @Nullable VariablePredicate variablePredicate)
This will compile an operation textDocument
with possibly variables from the givenExecutableNormalizedField
s TheVariablePredicate
is used called to decide if the given argument values should be made into a variable OR inlined into the operation text as a graphql literal.static ExecutableNormalizedOperationToAstCompiler.CompilerResult
ExecutableNormalizedOperationToAstCompiler. compileToDocument(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable java.lang.String operationName, @NotNull java.util.List<ExecutableNormalizedField> topLevelFields, @Nullable VariablePredicate variablePredicate)
This will compile an operation textDocument
with possibly variables from the givenExecutableNormalizedField
s TheVariablePredicate
is used called to decide if the given argument values should be made into a variable OR inlined into the operation text as a graphql literal.private void
ExecutableNormalizedOperationFactory. createNFs(com.google.common.collect.ImmutableList.Builder<ExecutableNormalizedField> nfListBuilder, FieldCollectorNormalizedQueryParams parameters, java.util.Map<java.lang.String,java.util.List<ExecutableNormalizedOperationFactory.CollectedField>> fieldsByName, com.google.common.collect.ImmutableListMultimap.Builder<ExecutableNormalizedField,ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields, int level, ExecutableNormalizedField parent)
private void
ExecutableNormalizedOperationFactory. createNFs(com.google.common.collect.ImmutableList.Builder<ExecutableNormalizedField> nfListBuilder, FieldCollectorNormalizedQueryParams parameters, java.util.Map<java.lang.String,java.util.List<ExecutableNormalizedOperationFactory.CollectedField>> fieldsByName, com.google.common.collect.ImmutableListMultimap.Builder<ExecutableNormalizedField,ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields, int level, ExecutableNormalizedField parent)
private static boolean
ENFMerger. isContained(ExecutableNormalizedField searchFor, java.util.Set<ExecutableNormalizedField> set)
static void
ENFMerger. merge(ExecutableNormalizedField parent, java.util.List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema)
private static java.util.Map<java.lang.String,Field>
ExecutableNormalizedOperationToAstCompiler. selectionForNormalizedField(GraphQLSchema schema, ExecutableNormalizedField executableNormalizedField, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)
private static Field
ExecutableNormalizedOperationToAstCompiler. selectionForNormalizedField(GraphQLSchema schema, java.lang.String objectTypeName, ExecutableNormalizedField executableNormalizedField, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)
private static java.util.List<Selection<?>>
ExecutableNormalizedOperationToAstCompiler. subselectionsForNormalizedField(GraphQLSchema schema, @NotNull java.lang.String parentOutputType, java.util.List<ExecutableNormalizedField> executableNormalizedFields, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)
private static java.util.List<Selection<?>>
ExecutableNormalizedOperationToAstCompiler. subselectionsForNormalizedField(GraphQLSchema schema, @NotNull java.lang.String parentOutputType, java.util.List<ExecutableNormalizedField> executableNormalizedFields, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)
private void
ExecutableNormalizedField. traverseImpl(ExecutableNormalizedField root, java.util.function.Consumer<ExecutableNormalizedField> consumer, int curRelativeLevel, int abortAfter)
void
ExecutableNormalizedField. traverseSubTree(java.util.function.Consumer<ExecutableNormalizedField> consumer)
Traverse from thisExecutableNormalizedField
down into itself and all of its childrenprivate void
ExecutableNormalizedOperationFactory. updateCoordinatedToNFMap(com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields, ExecutableNormalizedField topLevel)
private void
ExecutableNormalizedOperationFactory. updateFieldToNFMap(ExecutableNormalizedField executableNormalizedField, com.google.common.collect.ImmutableList<ExecutableNormalizedOperationFactory.FieldAndAstParent> mergedField, com.google.common.collect.ImmutableListMultimap.Builder<Field,ExecutableNormalizedField> fieldToNormalizedField)
Constructors in graphql.normalized with parameters of type ExecutableNormalizedField Constructor Description Builder(ExecutableNormalizedField existing)
PossibleMerger(ExecutableNormalizedField parent, java.lang.String resultKey)
Constructor parameters in graphql.normalized with type arguments of type ExecutableNormalizedField Constructor Description CollectNFResult(java.util.Collection<ExecutableNormalizedField> children, com.google.common.collect.ImmutableListMultimap<ExecutableNormalizedField,ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields)
CollectNFResult(java.util.Collection<ExecutableNormalizedField> children, com.google.common.collect.ImmutableListMultimap<ExecutableNormalizedField,ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields)
ExecutableNormalizedOperation(OperationDefinition.Operation operation, java.lang.String operationName, java.util.List<ExecutableNormalizedField> topLevelFields, com.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField> fieldToNormalizedField, java.util.Map<ExecutableNormalizedField,MergedField> normalizedFieldToMergedField, java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields)
ExecutableNormalizedOperation(OperationDefinition.Operation operation, java.lang.String operationName, java.util.List<ExecutableNormalizedField> topLevelFields, com.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField> fieldToNormalizedField, java.util.Map<ExecutableNormalizedField,MergedField> normalizedFieldToMergedField, java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields)
ExecutableNormalizedOperation(OperationDefinition.Operation operation, java.lang.String operationName, java.util.List<ExecutableNormalizedField> topLevelFields, com.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField> fieldToNormalizedField, java.util.Map<ExecutableNormalizedField,MergedField> normalizedFieldToMergedField, java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields)
-
Uses of ExecutableNormalizedField in graphql.schema
Fields in graphql.schema declared as ExecutableNormalizedField Modifier and Type Field Description private ExecutableNormalizedField
DataFetchingFieldSelectionSetImpl.SelectedFieldImpl. executableNormalizedField
Fields in graphql.schema with type parameters of type ExecutableNormalizedField Modifier and Type Field Description private java.util.function.Supplier<ExecutableNormalizedField>
DataFetchingFieldSelectionSetImpl. normalizedFieldSupplier
Methods in graphql.schema with parameters of type ExecutableNormalizedField Modifier and Type Method Description private SelectedField
DataFetchingFieldSelectionSetImpl.SelectedFieldImpl. mkParent(ExecutableNormalizedField executableNormalizedField)
private static java.lang.String
DataFetchingFieldSelectionSetImpl. mkTypeQualifiedName(ExecutableNormalizedField executableNormalizedField)
private void
DataFetchingFieldSelectionSetImpl. traverseSubSelectedFields(ExecutableNormalizedField currentNormalisedField, com.google.common.collect.ImmutableList.Builder<SelectedField> immediateFieldsBuilder, java.lang.String qualifiedFieldPrefix, java.lang.String simpleFieldPrefix, boolean firstLevel)
Method parameters in graphql.schema with type arguments of type ExecutableNormalizedField Modifier and Type Method Description static DataFetchingFieldSelectionSet
DataFetchingFieldSelectionSetImpl. newCollector(GraphQLSchema schema, GraphQLOutputType fieldType, java.util.function.Supplier<ExecutableNormalizedField> normalizedFieldSupplier)
Constructors in graphql.schema with parameters of type ExecutableNormalizedField Constructor Description SelectedFieldImpl(java.lang.String simpleQualifiedName, java.lang.String fullyQualifiedName, ExecutableNormalizedField executableNormalizedField, GraphQLSchema schema)
Constructor parameters in graphql.schema with type arguments of type ExecutableNormalizedField Constructor Description DataFetchingFieldSelectionSetImpl(java.util.function.Supplier<ExecutableNormalizedField> normalizedFieldSupplier, GraphQLSchema schema)
-