public class CategoryResultQuery extends AbstractQuery<CategoryResultQuery>
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL| Modifier and Type | Method and Description |
|---|---|
CategoryResultQuery |
addFragmentReference(Fragment<CategoryResultQuery> fragment)
Adds a
CategoryResultQuery fragment reference at the current position of the query. |
static Fragment<CategoryResultQuery> |
createFragment(String name,
CategoryResultQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition.
|
CategoryResultQuery |
items(CategoryTreeQueryDefinition queryDef)
A list of categories that match the filter criteria.
|
CategoryResultQuery |
pageInfo(SearchResultPageInfoQueryDefinition queryDef)
An object that includes the page_info and currentPage values specified in the query.
|
CategoryResultQuery |
totalCount()
The total number of categories that match the criteria.
|
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAliaspublic CategoryResultQuery items(CategoryTreeQueryDefinition queryDef)
public CategoryResultQuery pageInfo(SearchResultPageInfoQueryDefinition queryDef)
public CategoryResultQuery totalCount()
public static Fragment<CategoryResultQuery> createFragment(String name, CategoryResultQueryDefinition queryDef)
name - The name of the fragment, must be unique for a given GraphQL request.queryDef - The fragment definition.public CategoryResultQuery addFragmentReference(Fragment<CategoryResultQuery> fragment)
CategoryResultQuery 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.