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,
GraphQLContext graphQLContext,
java.util.Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<QueryAppliedDirective> |
getImmediateAppliedDirective(java.lang.String directiveName)
This will return a list of the named applied directives that are immediately on this merged field.
|
java.util.Map<Field,java.util.List<QueryAppliedDirective>> |
getImmediateAppliedDirectivesByField()
This will return a map of the
Fields inside a MergedField
and the immediate applied directives that are on each specific field |
java.util.Map<java.lang.String,java.util.List<QueryAppliedDirective>> |
getImmediateAppliedDirectivesByName()
This will return a map of the applied directives that are immediately on a merged field
|
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, GraphQLContext graphQLContext, java.util.Locale locale)
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<Field,java.util.List<QueryAppliedDirective>> getImmediateAppliedDirectivesByField()
QueryDirectivesFields inside a MergedField
and the immediate applied directives that are on each specific fieldgetImmediateAppliedDirectivesByField in interface QueryDirectivespublic java.util.Map<java.lang.String,java.util.List<GraphQLDirective>> getImmediateDirectivesByName()
QueryDirectivesgetImmediateDirectivesByName in interface QueryDirectivespublic java.util.Map<java.lang.String,java.util.List<QueryAppliedDirective>> getImmediateAppliedDirectivesByName()
QueryDirectivesgetImmediateAppliedDirectivesByName in interface QueryDirectivespublic java.util.List<GraphQLDirective> getImmediateDirective(java.lang.String directiveName)
QueryDirectivesgetImmediateDirective in interface QueryDirectivesdirectiveName - the named directivepublic java.util.List<QueryAppliedDirective> getImmediateAppliedDirective(java.lang.String directiveName)
QueryDirectivesgetImmediateAppliedDirective in interface QueryDirectivesdirectiveName - the named directive