Package | Description |
---|---|
io.sphere.sdk.products.search |
Endpoint related classes to search products.
|
io.sphere.sdk.search |
Provides types to perform searches.
|
io.sphere.sdk.search.model |
Models to support using search endpoints.
|
Modifier and Type | Method and Description |
---|---|
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.containsAll(Iterable<String> categoryIds)
Creates filters for a product which needs to be in all categories directly (
categoryIds ). |
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.containsAllIncludingSubtrees(Iterable<String> categoryIds)
Creates filters for a product which needs to be in all categories or its descendants.
|
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.containsAny(Iterable<String> categoryIds)
Creates filters for a product which needs to be in any of the given categories directly (
categoryIds ). |
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.containsAnyIncludingSubtrees(Iterable<String> categoryIds)
Creates filters for a product which needs to be in any of the given categories or its descendants.
|
List<FilterExpression<T>> |
ProductCategoriesReferenceFilterSearchModel.exists() |
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.is(String categoryId)
Creates filters for a product which should directly belong to the given category in
categoryId . |
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.isIn(Iterable<String> categoryIds)
Creates filters for a product which needs to be in any of the given categories directly (
categoryIds ). |
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.isInSubtree(String categoryId)
Creates filters for a product which is in a category and its descendants.
|
List<FilterExpression<T>> |
ProductCategoriesIdTermFilterSearchModel.isInSubtreeOrInCategory(Iterable<String> categoryIdsSubtree,
Iterable<String> categoryIdsDirectly)
Creates filters for a product which is in certain category trees (
categoryIdsSubtree ) or direct categories (). |
List<FilterExpression<T>> |
ProductCategoriesReferenceFilterSearchModel.missing() |
Modifier and Type | Field and Description |
---|---|
protected List<FilterExpression<T>> |
MetaModelSearchDslBuilder.facetFilters |
protected List<FilterExpression<T>> |
MetaModelSearchDslBuilder.queryFilters |
protected List<FilterExpression<T>> |
MetaModelSearchDslBuilder.resultFilters |
Modifier and Type | Method and Description |
---|---|
static <T> FilterExpression<T> |
FilterExpression.of(String sphereFilterExpression) |
Modifier and Type | Method and Description |
---|---|
List<FilterExpression<T>> |
FilterSupport.facetFilters() |
List<FilterExpression<T>> |
MetaModelSearchDslImpl.facetFilters() |
List<FilterExpression<T>> |
FacetedSearchExpression.filterExpressions() |
List<FilterExpression<T>> |
TermFacetedSearchExpression.filterExpressions() |
List<FilterExpression<T>> |
RangeFacetedSearchExpression.filterExpressions() |
List<FilterExpression<T>> |
FilterSupport.queryFilters() |
List<FilterExpression<T>> |
MetaModelSearchDslImpl.queryFilters() |
List<FilterExpression<T>> |
FilterSupport.resultFilters() |
List<FilterExpression<T>> |
MetaModelSearchDslImpl.resultFilters() |
Modifier and Type | Method and Description |
---|---|
B |
ResourceMetaModelSearchDslBuilderImpl.facetFilters(Function<L,List<FilterExpression<T>>> m) |
B |
ResourceMetaModelSearchDslBuilder.facetFilters(Function<L,List<FilterExpression<T>>> m) |
MetaModelSearchDslBuilder<T,C,S,L,F,E> |
MetaModelSearchDslBuilder.facetFilters(List<FilterExpression<T>> facetFilters) |
B |
ResourceMetaModelSearchDslBuilderImpl.facetFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilder.facetFilters(List<FilterExpression<T>> filterExpressions) |
static <T> RangeFacetedSearchExpression<T> |
RangeFacetedSearchExpression.of(RangeFacetExpression<T> facetExpression,
List<FilterExpression<T>> filterExpressions) |
static <T> TermFacetedSearchExpression<T> |
TermFacetedSearchExpression.of(TermFacetExpression<T> facetExpression,
List<FilterExpression<T>> filterExpressions) |
C |
MetaModelSearchDslImpl.plusFacetFilters(Function<L,List<FilterExpression<T>>> m) |
B |
ResourceMetaModelSearchDslBuilderImpl.plusFacetFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelFilterDsl.plusFacetFilters(Function<L,List<FilterExpression<T>>> m)
Creates a new object with the properties of the old object but adds a new filter list to the
facetFilters by using meta models. |
B |
ResourceMetaModelSearchDslBuilder.plusFacetFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelSearchDslImpl.plusFacetFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilderImpl.plusFacetFilters(List<FilterExpression<T>> filterExpressions) |
C |
FilterDsl.plusFacetFilters(List<FilterExpression<T>> filterExpressions)
Returns a new object with the new facet filter list appended to the existing facet filters (query parameter
filter.facet ). |
B |
ResourceMetaModelSearchDslBuilder.plusFacetFilters(List<FilterExpression<T>> filterExpressions) |
C |
MetaModelSearchDslImpl.plusQueryFilters(Function<L,List<FilterExpression<T>>> m) |
B |
ResourceMetaModelSearchDslBuilderImpl.plusQueryFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelFilterDsl.plusQueryFilters(Function<L,List<FilterExpression<T>>> m)
Creates a new object with the properties of the old object but adds a new filter list to the
queryFilters by using meta models. |
B |
ResourceMetaModelSearchDslBuilder.plusQueryFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelSearchDslImpl.plusQueryFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilderImpl.plusQueryFilters(List<FilterExpression<T>> filterExpressions) |
C |
FilterDsl.plusQueryFilters(List<FilterExpression<T>> filterExpressions)
Returns a new object with the new query filter expression list appended to the existing query filters (query parameter
filter.query ). |
B |
ResourceMetaModelSearchDslBuilder.plusQueryFilters(List<FilterExpression<T>> filterExpressions) |
C |
MetaModelSearchDslImpl.plusResultFilters(Function<L,List<FilterExpression<T>>> m) |
B |
ResourceMetaModelSearchDslBuilderImpl.plusResultFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelFilterDsl.plusResultFilters(Function<L,List<FilterExpression<T>>> m)
Creates a new object with the properties of the old object but adds a new filter list to the
resultFilters by using meta models. |
B |
ResourceMetaModelSearchDslBuilder.plusResultFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelSearchDslImpl.plusResultFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilderImpl.plusResultFilters(List<FilterExpression<T>> filterExpressions) |
C |
FilterDsl.plusResultFilters(List<FilterExpression<T>> filterExpressions)
Returns a new object with the new result filter expression list appended to the existing result filters (query parameter
filter ). |
B |
ResourceMetaModelSearchDslBuilder.plusResultFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilderImpl.queryFilters(Function<L,List<FilterExpression<T>>> m) |
B |
ResourceMetaModelSearchDslBuilder.queryFilters(Function<L,List<FilterExpression<T>>> m) |
MetaModelSearchDslBuilder<T,C,S,L,F,E> |
MetaModelSearchDslBuilder.queryFilters(List<FilterExpression<T>> queryFilters) |
B |
ResourceMetaModelSearchDslBuilderImpl.queryFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilder.queryFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilderImpl.resultFilters(Function<L,List<FilterExpression<T>>> m) |
B |
ResourceMetaModelSearchDslBuilder.resultFilters(Function<L,List<FilterExpression<T>>> m) |
MetaModelSearchDslBuilder<T,C,S,L,F,E> |
MetaModelSearchDslBuilder.resultFilters(List<FilterExpression<T>> resultFilters) |
B |
ResourceMetaModelSearchDslBuilderImpl.resultFilters(List<FilterExpression<T>> filterExpressions) |
B |
ResourceMetaModelSearchDslBuilder.resultFilters(List<FilterExpression<T>> filterExpressions) |
C |
MetaModelSearchDslImpl.withFacetFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelFilterDsl.withFacetFilters(Function<L,List<FilterExpression<T>>> m)
Creates a new object with the properties of the old object but replaces all filters with a list of filter expressions to the
facetFilters by using meta models. |
C |
MetaModelSearchDslImpl.withFacetFilters(List<FilterExpression<T>> filterExpressions) |
C |
FilterDsl.withFacetFilters(List<FilterExpression<T>> filterExpressions)
Returns a new object with the new facet filter list as facet filter (query parameter
filter.facet ). |
C |
MetaModelSearchDslImpl.withQueryFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelFilterDsl.withQueryFilters(Function<L,List<FilterExpression<T>>> m)
Creates a new object with the properties of the old object but replaces all filters with a list of filter expressions to the
queryFilters by using meta models. |
C |
MetaModelSearchDslImpl.withQueryFilters(List<FilterExpression<T>> filterExpressions) |
C |
FilterDsl.withQueryFilters(List<FilterExpression<T>> filterExpressions)
Returns a new object with the new query filter expression list as query filters (query parameter
filter.query ). |
C |
MetaModelSearchDslImpl.withResultFilters(Function<L,List<FilterExpression<T>>> m) |
C |
MetaModelFilterDsl.withResultFilters(Function<L,List<FilterExpression<T>>> m)
Creates a new object with the properties of the old object but replaces all filters with a list of filter expressions to the
resultFilters by using meta models. |
C |
MetaModelSearchDslImpl.withResultFilters(List<FilterExpression<T>> filterExpressions) |
C |
FilterDsl.withResultFilters(List<FilterExpression<T>> filterExpressions)
Returns a new object with the new result filter expression list as result filter (query parameter
filter ). |
Constructor and Description |
---|
MetaModelSearchDslImpl(LocalizedStringEntry text,
Boolean fuzzy,
Integer fuzzyLevel,
List<FacetExpression<T>> facets,
List<FilterExpression<T>> resultFilters,
List<FilterExpression<T>> queryFilters,
List<FilterExpression<T>> facetFilters,
List<FacetedSearchExpression<T>> facetedSearch,
List<SortExpression<T>> sort,
Long limit,
Long offset,
String endpoint,
Function<HttpResponse,PagedSearchResult<T>> resultMapper,
List<ExpansionPath<T>> expansionPaths,
List<NameValuePair> additionalQueryParameters,
S sortModel,
L filterModel,
F facetModel,
E expansionModel,
Function<MetaModelSearchDslBuilder<T,C,S,L,F,E>,C> searchDslBuilderFunction) |
MetaModelSearchDslImpl(LocalizedStringEntry text,
Boolean fuzzy,
Integer fuzzyLevel,
List<FacetExpression<T>> facets,
List<FilterExpression<T>> resultFilters,
List<FilterExpression<T>> queryFilters,
List<FilterExpression<T>> facetFilters,
List<FacetedSearchExpression<T>> facetedSearch,
List<SortExpression<T>> sort,
Long limit,
Long offset,
String endpoint,
Function<HttpResponse,PagedSearchResult<T>> resultMapper,
List<ExpansionPath<T>> expansionPaths,
List<NameValuePair> additionalQueryParameters,
S sortModel,
L filterModel,
F facetModel,
E expansionModel,
Function<MetaModelSearchDslBuilder<T,C,S,L,F,E>,C> searchDslBuilderFunction) |
MetaModelSearchDslImpl(LocalizedStringEntry text,
Boolean fuzzy,
Integer fuzzyLevel,
List<FacetExpression<T>> facets,
List<FilterExpression<T>> resultFilters,
List<FilterExpression<T>> queryFilters,
List<FilterExpression<T>> facetFilters,
List<FacetedSearchExpression<T>> facetedSearch,
List<SortExpression<T>> sort,
Long limit,
Long offset,
String endpoint,
Function<HttpResponse,PagedSearchResult<T>> resultMapper,
List<ExpansionPath<T>> expansionPaths,
List<NameValuePair> additionalQueryParameters,
S sortModel,
L filterModel,
F facetModel,
E expansionModel,
Function<MetaModelSearchDslBuilder<T,C,S,L,F,E>,C> searchDslBuilderFunction) |
Modifier and Type | Class and Description |
---|---|
class |
TermFilterExpression<T,V> |
Modifier and Type | Method and Description |
---|---|
List<FilterExpression<T>> |
TermFilterSearchModel.containsAll(Iterable<V> values) |
List<FilterExpression<T>> |
FilterSearchModel.containsAll(Iterable<V> values)
Generates an expression to select all elements with attributes matching all the given values.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.containsAll(Iterable<V> values)
Generates an expression to select all elements with attributes matching all the given values.
|
List<FilterExpression<T>> |
TermFilterSearchModelImpl.containsAll(Iterable<V> values)
Generates an expression to select all elements with attributes matching all the given values.
|
List<FilterExpression<T>> |
TermFilterExistsAndMissingSearchModel.containsAll(Iterable<V> values) |
List<FilterExpression<T>> |
TermFilterSearchModel.containsAllAsString(Iterable<String> values) |
List<FilterExpression<T>> |
FilterSearchModel.containsAllAsString(Iterable<String> values)
Generates an expression to select all elements with attributes matching all the given values.
|
List<FilterExpression<T>> |
TermFilterExistsAndMissingSearchModel.containsAllAsString(Iterable<String> values) |
List<FilterExpression<T>> |
TermFilterSearchModel.containsAny(Iterable<V> values) |
List<FilterExpression<T>> |
FilterSearchModel.containsAny(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.containsAny(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
TermFilterSearchModelImpl.containsAny(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
TermFilterExistsAndMissingSearchModel.containsAny(Iterable<V> values) |
List<FilterExpression<T>> |
TermFilterSearchModel.containsAnyAsString(Iterable<String> values) |
List<FilterExpression<T>> |
FilterSearchModel.containsAnyAsString(Iterable<String> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
TermFilterExistsAndMissingSearchModel.containsAnyAsString(Iterable<String> values) |
List<FilterExpression<T>> |
MoneyFilterSearchModel.exists() |
List<FilterExpression<T>> |
LocalizedEnumFilterSearchModel.exists() |
List<FilterExpression<T>> |
LocalizedStringFilterSearchModel.exists() |
List<FilterExpression<T>> |
EnumFilterSearchModel.exists() |
List<FilterExpression<T>> |
ExistsFilterSearchModelSupport.exists()
Creates filters for a field that contains at least one value.
|
List<FilterExpression<T>> |
ExistsAndMissingFilterSearchModelSupport.exists() |
List<FilterExpression<T>> |
ReferenceFilterSearchModel.exists() |
protected List<FilterExpression<T>> |
SearchModelImpl.existsFilters() |
List<FilterExpression<T>> |
TermFilterSearchModel.is(V value) |
List<FilterExpression<T>> |
FilterSearchModel.is(V value)
Generates an expression to select all elements with the given attribute value.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.is(V value)
Generates an expression to select all elements with the given attribute value.
|
List<FilterExpression<T>> |
TermFilterSearchModelImpl.is(V value)
Generates an expression to select all elements with the given attribute value.
|
List<FilterExpression<T>> |
TermFilterExistsAndMissingSearchModel.is(V value) |
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isBetween(FilterRange<V> range)
Generates an expression to select all elements with an attribute value within the given range.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isBetween(V lowerEndpoint,
V upperEndpoint)
Generates an expression to select all elements with an attribute value within the range defined by the given endpoints.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isBetweenAll(Iterable<FilterRange<V>> filterRanges)
Generates an expression to select all elements with an attribute value within all the given ranges.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isBetweenAny(Iterable<FilterRange<V>> filterRanges)
Generates an expression to select all elements with an attribute value within any of the given ranges.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isGreaterThanOrEqualTo(V value)
Generates an expression to select all elements with an attribute value greater than or equal to the given value.
|
List<FilterExpression<T>> |
TermFilterSearchModel.isIn(Iterable<V> values) |
default List<FilterExpression<T>> |
FilterSearchModel.isIn(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isIn(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
TermFilterSearchModelImpl.isIn(Iterable<V> values)
Generates an expression to select all elements with attributes matching any of the given values.
|
List<FilterExpression<T>> |
TermFilterExistsAndMissingSearchModel.isIn(Iterable<V> values) |
List<FilterExpression<T>> |
RangeTermFilterSearchModel.isLessThanOrEqualTo(V value)
Generates an expression to select all elements with an attribute value less than or equal to the given value.
|
List<FilterExpression<T>> |
MoneyFilterSearchModel.missing() |
List<FilterExpression<T>> |
MissingFilterSearchModelSupport.missing()
Creates filters for fields that contain no values.
|
List<FilterExpression<T>> |
LocalizedEnumFilterSearchModel.missing() |
List<FilterExpression<T>> |
LocalizedStringFilterSearchModel.missing() |
List<FilterExpression<T>> |
EnumFilterSearchModel.missing() |
List<FilterExpression<T>> |
ExistsAndMissingFilterSearchModelSupport.missing() |
List<FilterExpression<T>> |
ReferenceFilterSearchModel.missing() |
protected List<FilterExpression<T>> |
SearchModelImpl.missingFilters() |