public class __DirectiveQuery extends AbstractQuery<__DirectiveQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
__DirectiveQuery |
addFragmentReference(Fragment<__DirectiveQuery> fragment)
Adds a
__DirectiveQuery fragment reference at the current position of the query. |
__DirectiveQuery |
args(__InputValueQueryDefinition queryDef) |
static Fragment<__DirectiveQuery> |
createFragment(String name,
__DirectiveQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
__DirectiveQuery |
description() |
__DirectiveQuery |
locations() |
__DirectiveQuery |
name() |
__DirectiveQuery |
onField()
Deprecated.
Use `locations`.
|
__DirectiveQuery |
onFragment()
Deprecated.
Use `locations`.
|
__DirectiveQuery |
onOperation()
Deprecated.
Use `locations`.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic __DirectiveQuery args(__InputValueQueryDefinition queryDef)
public __DirectiveQuery description()
public __DirectiveQuery locations()
public __DirectiveQuery name()
@Deprecated public __DirectiveQuery onField()
@Deprecated public __DirectiveQuery onFragment()
@Deprecated public __DirectiveQuery onOperation()
public static Fragment<__DirectiveQuery> createFragment(String name, __DirectiveQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public __DirectiveQuery addFragmentReference(Fragment<__DirectiveQuery> fragment)
__DirectiveQuery fragment reference at the current position of the query.
For example for a fragment named test, calling this method will add the
reference ...test in the query. For GraphQL types implementing an interface, there
will be some similar methods using the Query type of each implemented interface.fragment - The fragment to reference.Copyright © 2022 Adobe. All rights reserved.