public class QueryDirectivesImpl extends java.lang.Object implements QueryDirectives
| Constructor and Description |
|---|
QueryDirectivesImpl(MergedField mergedField,
GraphQLSchema schema,
java.util.Map<java.lang.String,java.lang.Object> variables) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GraphQLDirective> |
getImmediateDirective(java.lang.String directiveName)
This will return a list of the named directives that are immediately on this merged field.
|
java.util.Map<Field,java.util.List<GraphQLDirective>> |
getImmediateDirectivesByField()
This will return a map of the
Fields inside a MergedField
and the immediate directives that are on each specific field |
java.util.Map<java.lang.String,java.util.List<GraphQLDirective>> |
getImmediateDirectivesByName()
This will return a map of the directives that are immediately on a merged field
|
public QueryDirectivesImpl(MergedField mergedField, GraphQLSchema schema, java.util.Map<java.lang.String,java.lang.Object> variables)
public java.util.Map<Field,java.util.List<GraphQLDirective>> getImmediateDirectivesByField()
QueryDirectivesFields inside a MergedField
and the immediate directives that are on each specific fieldgetImmediateDirectivesByField in interface QueryDirectivespublic java.util.Map<java.lang.String,java.util.List<GraphQLDirective>> getImmediateDirectivesByName()
QueryDirectivesgetImmediateDirectivesByName in interface QueryDirectivespublic java.util.List<GraphQLDirective> getImmediateDirective(java.lang.String directiveName)
QueryDirectivesgetImmediateDirective in interface QueryDirectivesdirectiveName - the named directive