public class Storefront.QueryRootQuery.SearchArguments extends Arguments
| Modifier and Type | Method and Description |
|---|---|
Storefront.QueryRootQuery.SearchArguments |
after(java.lang.String value)
Returns the elements that come after the specified cursor.
|
Storefront.QueryRootQuery.SearchArguments |
before(java.lang.String value)
Returns the elements that come before the specified cursor.
|
Storefront.QueryRootQuery.SearchArguments |
first(java.lang.Integer value)
Returns up to the first `n` elements from the list.
|
Storefront.QueryRootQuery.SearchArguments |
last(java.lang.Integer value)
Returns up to the last `n` elements from the list.
|
Storefront.QueryRootQuery.SearchArguments |
prefix(Storefront.SearchPrefixQueryType value)
Specifies whether to perform a partial word match on the last search term.
|
Storefront.QueryRootQuery.SearchArguments |
productFilters(java.util.List<Storefront.ProductFilter> value)
Returns a subset of products matching all product filters.
|
Storefront.QueryRootQuery.SearchArguments |
reverse(java.lang.Boolean value)
Reverse the order of the underlying list.
|
Storefront.QueryRootQuery.SearchArguments |
sortKey(Storefront.SearchSortKeys value)
Sort the underlying list by the given key.
|
Storefront.QueryRootQuery.SearchArguments |
types(java.util.List<Storefront.SearchType> value)
The types of resources to search for.
|
Storefront.QueryRootQuery.SearchArguments |
unavailableProducts(Storefront.SearchUnavailableProductsType value)
Specifies how unavailable products or variants are displayed in the search results.
|
end, startArgumentpublic Storefront.QueryRootQuery.SearchArguments first(java.lang.Integer value)
public Storefront.QueryRootQuery.SearchArguments after(java.lang.String value)
public Storefront.QueryRootQuery.SearchArguments last(java.lang.Integer value)
public Storefront.QueryRootQuery.SearchArguments before(java.lang.String value)
public Storefront.QueryRootQuery.SearchArguments reverse(java.lang.Boolean value)
public Storefront.QueryRootQuery.SearchArguments sortKey(Storefront.SearchSortKeys value)
public Storefront.QueryRootQuery.SearchArguments prefix(Storefront.SearchPrefixQueryType value)
public Storefront.QueryRootQuery.SearchArguments productFilters(java.util.List<Storefront.ProductFilter> value)
public Storefront.QueryRootQuery.SearchArguments types(java.util.List<Storefront.SearchType> value)
public Storefront.QueryRootQuery.SearchArguments unavailableProducts(Storefront.SearchUnavailableProductsType value)