@PublicApi public class FieldCoordinates extends Object
DataFetcher
need to be specified using those coordinates.Modifier and Type | Method and Description |
---|---|
static FieldCoordinates |
coordinates(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition)
Creates new field coordinates
|
static FieldCoordinates |
coordinates(String parentType,
String fieldName)
Creates new field coordinates
|
boolean |
equals(Object o) |
String |
getFieldName() |
String |
getTypeName() |
int |
hashCode() |
static FieldCoordinates |
systemCoordinates(String fieldName)
The exception to the general rule is the system __xxxx Introspection fields which have no parent type and
are able to be specified on any type
|
String |
toString() |
public String getTypeName()
public String getFieldName()
public static FieldCoordinates coordinates(GraphQLFieldsContainer parentType, GraphQLFieldDefinition fieldDefinition)
parentType
- the container of the fieldfieldDefinition
- the field definitionpublic static FieldCoordinates coordinates(String parentType, String fieldName)
parentType
- the container of the fieldfieldName
- the field namepublic static FieldCoordinates systemCoordinates(String fieldName)
fieldName
- the name of the system field which MUST start with __Copyright © 2019. All rights reserved.