public class FieldCollector
extends java.lang.Object
| Constructor and Description |
|---|
FieldCollector() |
| Modifier and Type | Method and Description |
|---|---|
MergedSelectionSet |
collectFields(FieldCollectorParameters parameters,
MergedField mergedField) |
MergedSelectionSet |
collectFields(FieldCollectorParameters parameters,
SelectionSet selectionSet)
Given a selection set this will collect the sub-field selections and return it as a map
|
public MergedSelectionSet collectFields(FieldCollectorParameters parameters, MergedField mergedField)
public MergedSelectionSet collectFields(FieldCollectorParameters parameters, SelectionSet selectionSet)
parameters - the parameters to this methodselectionSet - the selection set to collect on