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<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
Field s 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
Field s 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()
QueryDirectives
Field
s inside a MergedField
and the immediate directives that are on each specific fieldgetImmediateDirectivesByField
in interface QueryDirectives
public java.util.Map<Field,java.util.List<QueryAppliedDirective>> getImmediateAppliedDirectivesByField()
QueryDirectives
Field
s inside a MergedField
and the immediate applied directives that are on each specific fieldgetImmediateAppliedDirectivesByField
in interface QueryDirectives
public java.util.Map<java.lang.String,java.util.List<GraphQLDirective>> getImmediateDirectivesByName()
QueryDirectives
getImmediateDirectivesByName
in interface QueryDirectives
public java.util.Map<java.lang.String,java.util.List<QueryAppliedDirective>> getImmediateAppliedDirectivesByName()
QueryDirectives
getImmediateAppliedDirectivesByName
in interface QueryDirectives
public java.util.List<GraphQLDirective> getImmediateDirective(java.lang.String directiveName)
QueryDirectives
getImmediateDirective
in interface QueryDirectives
directiveName
- the named directivepublic java.util.List<QueryAppliedDirective> getImmediateAppliedDirective(java.lang.String directiveName)
QueryDirectives
getImmediateAppliedDirective
in interface QueryDirectives
directiveName
- the named directive