public class ExecutableNormalizedOperation
extends java.lang.Object
Constructor and Description |
---|
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,
com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> |
getCoordinatesToNormalizedFields() |
com.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField> |
getFieldToNormalizedField()
This is a multimap: the size of it reflects the all the normalized fields
|
MergedField |
getMergedField(ExecutableNormalizedField executableNormalizedField) |
ExecutableNormalizedField |
getNormalizedField(MergedField mergedField,
GraphQLFieldsContainer fieldsContainer,
ResultPath resultPath) |
java.util.List<ExecutableNormalizedField> |
getNormalizedFields(Field field) |
java.util.Map<ExecutableNormalizedField,MergedField> |
getNormalizedFieldToMergedField() |
OperationDefinition.Operation |
getOperation() |
java.lang.String |
getOperationName() |
java.util.List<ExecutableNormalizedField> |
getTopLevelFields() |
public 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, com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> coordinatesToNormalizedFields)
public OperationDefinition.Operation getOperation()
public java.lang.String getOperationName()
public com.google.common.collect.ImmutableListMultimap<FieldCoordinates,ExecutableNormalizedField> getCoordinatesToNormalizedFields()
public java.util.List<ExecutableNormalizedField> getTopLevelFields()
public com.google.common.collect.ImmutableListMultimap<Field,ExecutableNormalizedField> getFieldToNormalizedField()
public java.util.List<ExecutableNormalizedField> getNormalizedFields(Field field)
public java.util.Map<ExecutableNormalizedField,MergedField> getNormalizedFieldToMergedField()
public MergedField getMergedField(ExecutableNormalizedField executableNormalizedField)
public ExecutableNormalizedField getNormalizedField(MergedField mergedField, GraphQLFieldsContainer fieldsContainer, ResultPath resultPath)