Uses of Class
graphql.normalized.ExecutableNormalizedField
Packages that use ExecutableNormalizedField
-
Uses of ExecutableNormalizedField in graphql.execution
Methods in graphql.execution that return types with arguments of type ExecutableNormalizedFieldModifier and TypeMethodDescriptionprotected Supplier
<ExecutableNormalizedField> ExecutionStrategy.getNormalizedField
(ExecutionContext executionContext, ExecutionStrategyParameters parameters, Supplier<ExecutionStepInfo> executionStepInfo) -
Uses of ExecutableNormalizedField in graphql.normalized
Fields in graphql.normalized declared as ExecutableNormalizedFieldModifier and TypeFieldDescriptionprivate ExecutableNormalizedField
ExecutableNormalizedField.Builder.parent
private ExecutableNormalizedField
ExecutableNormalizedField.parent
(package private) ExecutableNormalizedField
FieldCollectorNormalizedQueryParams.PossibleMerger.parent
Fields in graphql.normalized with type parameters of type ExecutableNormalizedFieldModifier and TypeFieldDescriptionprivate ArrayList
<ExecutableNormalizedField> ExecutableNormalizedField.Builder.children
private final ArrayList
<ExecutableNormalizedField> ExecutableNormalizedField.children
private final Collection
<ExecutableNormalizedField> ExecutableNormalizedOperationFactory.CollectNFResult.children
private final com.google.common.collect.ImmutableListMultimap
<FieldCoordinates, ExecutableNormalizedField> ExecutableNormalizedOperation.coordinatesToNormalizedFields
private final com.google.common.collect.ImmutableListMultimap
<Field, ExecutableNormalizedField> ExecutableNormalizedOperation.fieldToNormalizedField
private final com.google.common.collect.ImmutableListMultimap
<ExecutableNormalizedField, ExecutableNormalizedOperationFactory.FieldAndAstParent> ExecutableNormalizedOperationFactory.CollectNFResult.normalizedFieldToAstFields
private final Map
<ExecutableNormalizedField, MergedField> ExecutableNormalizedOperation.normalizedFieldToMergedField
private final Map
<ExecutableNormalizedField, QueryDirectives> ExecutableNormalizedOperation.normalizedFieldToQueryDirectives
private final List
<ExecutableNormalizedField> ExecutableNormalizedOperation.topLevelFields
Methods in graphql.normalized that return ExecutableNormalizedFieldModifier and TypeMethodDescriptionExecutableNormalizedField.Builder.build()
private ExecutableNormalizedField
ExecutableNormalizedOperationFactory.createNF
(FieldCollectorNormalizedQueryParams parameters, ExecutableNormalizedOperationFactory.CollectedFieldGroup collectedFieldGroup, int level, ExecutableNormalizedField parent) ExecutableNormalizedOperation.getNormalizedField
(MergedField mergedField, GraphQLFieldsContainer fieldsContainer, ResultPath resultPath) This will find aExecutableNormalizedField
given a merged field and a result path.ExecutableNormalizedField.getParent()
ExecutableNormalizedField.transform
(Consumer<ExecutableNormalizedField.Builder> builderConsumer) Allows thisExecutableNormalizedField
to be transformed via aExecutableNormalizedField.Builder
consumer callbackMethods in graphql.normalized that return types with arguments of type ExecutableNormalizedFieldModifier and TypeMethodDescriptionExecutableNormalizedField.getChildren()
ExecutableNormalizedField.getChildren
(int includingRelativeLevel) ExecutableNormalizedField.getChildren
(String objectTypeName) This returns the child fields that can be used if the object is of the specified object typeExecutableNormalizedField.getChildrenWithSameResultKey
(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 operationExecutableNormalizedOperation.getNormalizedFields
(Field field) Looks up one or moreExecutableNormalizedField
s given aField
AST element in the operationExecutableNormalizedOperation.getNormalizedFieldToMergedField()
ExecutableNormalizedOperation.getNormalizedFieldToQueryDirectives()
ExecutableNormalizedOperation.getTopLevelFields()
Methods in graphql.normalized with parameters of type ExecutableNormalizedFieldModifier and TypeMethodDescriptionvoid
ExecutableNormalizedField.addChild
(ExecutableNormalizedField executableNormalizedField) void
FieldCollectorNormalizedQueryParams.addPossibleMergers
(ExecutableNormalizedField parent, String resultKey) private static @NotNull Value
<?> ExecutableNormalizedOperationToAstCompiler.argValue
(ExecutableNormalizedField executableNormalizedField, String argName, NormalizedInputValue normalizedInputValue, VariableAccumulator variableAccumulator) private static Value
<?> ExecutableNormalizedOperationToAstCompiler.argValue
(ExecutableNormalizedField executableNormalizedField, String argName, @Nullable Object value, 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, BiConsumer<ExecutableNormalizedField, MergedField> captureMergedField, com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates, ExecutableNormalizedField> coordinatesToNormalizedFields, int curLevel, int maxLevel) 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) 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, Map<String, 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, String parentType, ExecutableNormalizedField nf) ExecutableNormalizedOperation.getMergedField
(ExecutableNormalizedField executableNormalizedField) Looks up theMergedField
given aExecutableNormalizedField
ExecutableNormalizedOperation.getQueryDirectives
(ExecutableNormalizedField executableNormalizedField) This looks up theQueryDirectives
associated with the givenExecutableNormalizedField
private static boolean
ENFMerger.isContained
(ExecutableNormalizedField searchFor, Set<ExecutableNormalizedField> set) private static boolean
ENFMerger.isFieldInSharedInterface
(ExecutableNormalizedField fieldOne, ExecutableNormalizedField fieldTwo, GraphQLSchema schema) static void
ENFMerger.merge
(ExecutableNormalizedField parent, List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema) ExecutableNormalizedField.Builder.parent
(ExecutableNormalizedField parent) void
ExecutableNormalizedField.replaceParent
(ExecutableNormalizedField newParent) ExecutableNormalizedOperationToAstCompiler.selectionForNormalizedField
(GraphQLSchema schema, ExecutableNormalizedField executableNormalizedField, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) private static Field
ExecutableNormalizedOperationToAstCompiler.selectionForNormalizedField
(GraphQLSchema schema, String objectTypeName, ExecutableNormalizedField executableNormalizedField, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) boolean
VariableAccumulator.shouldMakeVariable
(ExecutableNormalizedField executableNormalizedField, String argName, NormalizedInputValue normalizedInputValue) boolean
VariablePredicate.shouldMakeVariable
(ExecutableNormalizedField executableNormalizedField, String argName, NormalizedInputValue normalizedInputValue) Return true if a variable should be made for this field argumentprivate void
ExecutableNormalizedField.traverseImpl
(ExecutableNormalizedField root, 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 ExecutableNormalizedFieldModifier and TypeMethodDescriptionprivate static boolean
ENFMerger.areFieldSetsTheSame
(List<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, 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, BiConsumer<ExecutableNormalizedField, MergedField> captureMergedField, com.google.common.collect.ImmutableListMultimap.Builder<FieldCoordinates, ExecutableNormalizedField> coordinatesToNormalizedFields, int curLevel, int maxLevel) ExecutableNormalizedField.Builder.children
(List<ExecutableNormalizedField> children) private static boolean
ENFMerger.compareTwoFieldSets
(Set<ExecutableNormalizedField> setOne, Set<ExecutableNormalizedField> setTwo) ExecutableNormalizedOperationToAstCompiler.compileToDocument
(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable String operationName, @NotNull 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.ExecutableNormalizedOperationToAstCompiler.compileToDocument
(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable String operationName, @NotNull List<ExecutableNormalizedField> topLevelFields, @NotNull 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.ExecutableNormalizedOperationToAstCompiler.compileToDocument
(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable String operationName, @NotNull List<ExecutableNormalizedField> topLevelFields, @NotNull 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.private void
ExecutableNormalizedOperationFactory.createNFs
(com.google.common.collect.ImmutableList.Builder<ExecutableNormalizedField> nfListBuilder, FieldCollectorNormalizedQueryParams parameters, Map<String, 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, Map<String, 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, Set<ExecutableNormalizedField> set) static void
ENFMerger.merge
(ExecutableNormalizedField parent, List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema) ExecutableNormalizedOperationToAstCompiler.selectionForNormalizedField
(GraphQLSchema schema, ExecutableNormalizedField executableNormalizedField, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) private static Field
ExecutableNormalizedOperationToAstCompiler.selectionForNormalizedField
(GraphQLSchema schema, String objectTypeName, ExecutableNormalizedField executableNormalizedField, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) ExecutableNormalizedOperationToAstCompiler.subselectionsForNormalizedField
(GraphQLSchema schema, @NotNull String parentOutputType, List<ExecutableNormalizedField> executableNormalizedFields, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) ExecutableNormalizedOperationToAstCompiler.subselectionsForNormalizedField
(GraphQLSchema schema, @NotNull String parentOutputType, List<ExecutableNormalizedField> executableNormalizedFields, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) private void
ExecutableNormalizedField.traverseImpl
(ExecutableNormalizedField root, Consumer<ExecutableNormalizedField> consumer, int curRelativeLevel, int abortAfter) void
ExecutableNormalizedField.traverseSubTree
(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 ExecutableNormalizedFieldModifierConstructorDescriptionprivate
Builder
(ExecutableNormalizedField existing) PossibleMerger
(ExecutableNormalizedField parent, String resultKey) Constructor parameters in graphql.normalized with type arguments of type ExecutableNormalizedFieldModifierConstructorDescriptionCollectNFResult
(Collection<ExecutableNormalizedField> children, com.google.common.collect.ImmutableListMultimap<ExecutableNormalizedField, ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields) CollectNFResult
(Collection<ExecutableNormalizedField> children, com.google.common.collect.ImmutableListMultimap<ExecutableNormalizedField, ExecutableNormalizedOperationFactory.FieldAndAstParent> normalizedFieldToAstFields) ExecutableNormalizedOperation
(OperationDefinition.Operation operation, String operationName, List<ExecutableNormalizedField> topLevelFields, com.google.common.collect.ImmutableListMultimap<Field, ExecutableNormalizedField> fieldToNormalizedField, Map<ExecutableNormalizedField, MergedField> normalizedFieldToMergedField, Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, com.google.common.collect.ImmutableListMultimap<FieldCoordinates, ExecutableNormalizedField> coordinatesToNormalizedFields) ExecutableNormalizedOperation
(OperationDefinition.Operation operation, String operationName, List<ExecutableNormalizedField> topLevelFields, com.google.common.collect.ImmutableListMultimap<Field, ExecutableNormalizedField> fieldToNormalizedField, Map<ExecutableNormalizedField, MergedField> normalizedFieldToMergedField, Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, com.google.common.collect.ImmutableListMultimap<FieldCoordinates, ExecutableNormalizedField> coordinatesToNormalizedFields) ExecutableNormalizedOperation
(OperationDefinition.Operation operation, String operationName, List<ExecutableNormalizedField> topLevelFields, com.google.common.collect.ImmutableListMultimap<Field, ExecutableNormalizedField> fieldToNormalizedField, Map<ExecutableNormalizedField, MergedField> normalizedFieldToMergedField, Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, com.google.common.collect.ImmutableListMultimap<FieldCoordinates, ExecutableNormalizedField> coordinatesToNormalizedFields) -
Uses of ExecutableNormalizedField in graphql.schema
Fields in graphql.schema declared as ExecutableNormalizedFieldModifier and TypeFieldDescriptionprivate final ExecutableNormalizedField
DataFetchingFieldSelectionSetImpl.SelectedFieldImpl.executableNormalizedField
Fields in graphql.schema with type parameters of type ExecutableNormalizedFieldModifier and TypeFieldDescriptionprivate final Supplier
<ExecutableNormalizedField> DataFetchingFieldSelectionSetImpl.normalizedFieldSupplier
Methods in graphql.schema with parameters of type ExecutableNormalizedFieldModifier and TypeMethodDescriptionprivate SelectedField
DataFetchingFieldSelectionSetImpl.SelectedFieldImpl.mkParent
(ExecutableNormalizedField executableNormalizedField) private static String
DataFetchingFieldSelectionSetImpl.mkTypeQualifiedName
(ExecutableNormalizedField executableNormalizedField) private void
DataFetchingFieldSelectionSetImpl.traverseSubSelectedFields
(ExecutableNormalizedField currentNormalisedField, com.google.common.collect.ImmutableList.Builder<SelectedField> immediateFieldsBuilder, String qualifiedFieldPrefix, String simpleFieldPrefix, boolean firstLevel) Method parameters in graphql.schema with type arguments of type ExecutableNormalizedFieldModifier and TypeMethodDescriptionDataFetchingFieldSelectionSetImpl.newCollector
(GraphQLSchema schema, GraphQLOutputType fieldType, Supplier<ExecutableNormalizedField> normalizedFieldSupplier) Constructors in graphql.schema with parameters of type ExecutableNormalizedFieldModifierConstructorDescriptionprivate
SelectedFieldImpl
(String simpleQualifiedName, String fullyQualifiedName, ExecutableNormalizedField executableNormalizedField, GraphQLSchema schema) Constructor parameters in graphql.schema with type arguments of type ExecutableNormalizedFieldModifierConstructorDescriptionprivate
DataFetchingFieldSelectionSetImpl
(Supplier<ExecutableNormalizedField> normalizedFieldSupplier, GraphQLSchema schema)