Package | Description |
---|---|
graphql.execution | |
graphql.language | |
graphql.parser | |
graphql.schema.idl | |
graphql.schema.idl.errors | |
graphql.validation | |
graphql.validation.rules |
Modifier and Type | Method and Description |
---|---|
boolean |
ConditionalNodes.shouldInclude(Map<String,Object> variables,
List<Directive> directives) |
Modifier and Type | Method and Description |
---|---|
Directive |
Directive.Builder.build() |
Directive |
Directive.deepCopy() |
Directive |
SchemaDefinition.getDirective(String directiveName) |
Directive |
InlineFragment.getDirective(String directiveName) |
default Directive |
DirectivesContainer.getDirective(String directiveName)
Returns a directive with the provided name
|
Directive |
Directive.transform(Consumer<Directive.Builder> builderConsumer) |
Directive |
Directive.withNewChildren(NodeChildrenContainer newChildren) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Directive> |
NodeUtil.directivesByName(List<Directive> directives) |
List<Directive> |
UnionTypeDefinition.getDirectives() |
List<Directive> |
SchemaDefinition.getDirectives() |
List<Directive> |
ScalarTypeDefinition.getDirectives() |
List<Directive> |
OperationDefinition.getDirectives() |
List<Directive> |
ObjectTypeDefinition.getDirectives() |
List<Directive> |
InterfaceTypeDefinition.getDirectives() |
List<Directive> |
InputValueDefinition.getDirectives() |
List<Directive> |
InputObjectTypeDefinition.getDirectives() |
List<Directive> |
InlineFragment.getDirectives() |
List<Directive> |
FragmentSpread.getDirectives() |
List<Directive> |
FragmentDefinition.getDirectives() |
List<Directive> |
FieldDefinition.getDirectives() |
List<Directive> |
Field.getDirectives() |
List<Directive> |
EnumValueDefinition.getDirectives() |
List<Directive> |
EnumTypeDefinition.getDirectives() |
List<Directive> |
DirectivesContainer.getDirectives() |
Map<String,Directive> |
SchemaDefinition.getDirectivesByName() |
Map<String,Directive> |
InlineFragment.getDirectivesByName() |
default Map<String,Directive> |
DirectivesContainer.getDirectivesByName() |
Constructor and Description |
---|
EnumTypeDefinition(String name,
List<EnumValueDefinition> enumValueDefinitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
EnumTypeExtensionDefinition(String name,
List<EnumValueDefinition> enumValueDefinitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
EnumValueDefinition(String name,
List<Directive> directives)
alternative to using a Builder for convenience
|
EnumValueDefinition(String name,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Field(String name,
String alias,
List<Argument> arguments,
List<Directive> directives,
SelectionSet selectionSet,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
FieldDefinition(String name,
Type type,
List<InputValueDefinition> inputValueDefinitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
FragmentDefinition(String name,
TypeName typeCondition,
List<Directive> directives,
SelectionSet selectionSet,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
FragmentSpread(String name,
List<Directive> directives,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InlineFragment(TypeName typeCondition,
List<Directive> directives,
SelectionSet selectionSet,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InputObjectTypeDefinition(String name,
List<Directive> directives,
List<InputValueDefinition> inputValueDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InputObjectTypeExtensionDefinition(String name,
List<Directive> directives,
List<InputValueDefinition> inputValueDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InputValueDefinition(String name,
Type type,
Value defaultValue,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InterfaceTypeDefinition(String name,
List<FieldDefinition> definitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
InterfaceTypeExtensionDefinition(String name,
List<FieldDefinition> definitions,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
ObjectTypeDefinition(String name,
List<Type> implementz,
List<Directive> directives,
List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
ObjectTypeExtensionDefinition(String name,
List<Type> implementz,
List<Directive> directives,
List<FieldDefinition> fieldDefinitions,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
OperationDefinition(String name,
OperationDefinition.Operation operation,
List<VariableDefinition> variableDefinitions,
List<Directive> directives,
SelectionSet selectionSet,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
ScalarTypeDefinition(String name,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
ScalarTypeExtensionDefinition(String name,
List<Directive> directives,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
SchemaDefinition(List<Directive> directives,
List<OperationTypeDefinition> operationTypeDefinitions,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
UnionTypeDefinition(String name,
List<Directive> directives)
alternative to using a Builder for convenience
|
UnionTypeDefinition(String name,
List<Directive> directives,
List<Type> memberTypes,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
UnionTypeExtensionDefinition(String name,
List<Directive> directives,
List<Type> memberTypes,
Description description,
SourceLocation sourceLocation,
List<Comment> comments,
IgnoredChars ignoredChars) |
Modifier and Type | Method and Description |
---|---|
protected Directive |
GraphqlAntlrToLanguage.createDirective(GraphqlParser.DirectiveContext ctx) |
Modifier and Type | Method and Description |
---|---|
protected List<Directive> |
GraphqlAntlrToLanguage.createDirectives(GraphqlParser.DirectivesContext ctx) |
Modifier and Type | Method and Description |
---|---|
GraphQLDirective |
SchemaGeneratorHelper.buildDirective(Directive directive,
Set<GraphQLDirective> directiveDefinitions,
Introspection.DirectiveLocation directiveLocation) |
Modifier and Type | Method and Description |
---|---|
String |
SchemaGeneratorHelper.buildDeprecationReason(List<Directive> directives) |
Constructor and Description |
---|
TypeExtensionDirectiveRedefinitionError(TypeDefinition typeExtensionDefinition,
Directive directive) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRule.checkDirective(Directive directive,
List<Node> ancestors) |
Modifier and Type | Method and Description |
---|---|
void |
ProvidedNonNullArguments.checkDirective(Directive directive,
List<Node> ancestors) |
void |
KnownDirectives.checkDirective(Directive directive,
List<Node> ancestors) |
Copyright © 2019. All rights reserved.