@PublicApi public interface SelectedField
SelectedField
represents a field that occurred in a query selection set during
execution and they are returned from using the DataFetchingFieldSelectionSet
interface returned via DataFetchingEnvironment.getSelectionSet()
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias() |
java.util.Map<java.lang.String,java.lang.Object> |
getArguments() |
java.util.List<GraphQLFieldDefinition> |
getFieldDefinitions() |
java.lang.String |
getFullyQualifiedName()
The selected field has a more complex type qualified name which is the path of field names to it
as well as the object type of the parent.
|
int |
getLevel() |
java.lang.String |
getName() |
java.util.List<java.lang.String> |
getObjectTypeNames() |
java.util.List<GraphQLObjectType> |
getObjectTypes() |
SelectedField |
getParentField()
This will return the parent of the selected field OR null if there is no single parent, it that field
was a top level field OR the parent was a non concrete field.
|
java.lang.String |
getQualifiedName()
The selected field has a simple qualified name which is the path of field names to it.
|
java.lang.String |
getResultKey()
The result key is either the field query alias OR the field name in that preference order
|
DataFetchingFieldSelectionSet |
getSelectionSet() |
GraphQLOutputType |
getType() |
boolean |
isConditional() |
java.lang.String getName()
java.lang.String getQualifiedName()
java.lang.String getFullyQualifiedName()
java.util.List<GraphQLObjectType> getObjectTypes()
java.util.List<java.lang.String> getObjectTypeNames()
java.util.List<GraphQLFieldDefinition> getFieldDefinitions()
GraphQLOutputType getType()
java.util.Map<java.lang.String,java.lang.Object> getArguments()
int getLevel()
boolean isConditional()
java.lang.String getAlias()
java.lang.String getResultKey()
SelectedField getParentField()
DataFetchingFieldSelectionSet getSelectionSet()