@ProviderType
public interface SelectedField
As described in SelectionSet, it is aimed to map the SelectedField to the minimum information
required when processing the query.
InlineFragment are mapped so that its isInline() is return true.
| Modifier and Type | Method and Description |
|---|---|
@Nullable String |
getName() |
@Nullable SelectedField |
getSubSelectedField(String name) |
@NotNull List<SelectedField> |
getSubSelectedFields() |
boolean |
hasSubSelectedFields(String... name) |
boolean |
isInline() |
@Nullable @Nullable String getName()
@NotNull @NotNull List<SelectedField> getSubSelectedFields()
@Nullable @Nullable SelectedField getSubSelectedField(String name)
name - the sub selected field name.boolean hasSubSelectedFields(String... name)
name - the sub selected field name(s).boolean isInline()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.