io.sphere.sdk.search.model.TermFacetSearchModel Maven / Gradle / Ivy
package io.sphere.sdk.search.model;
import io.sphere.sdk.search.FilteredFacetExpression;
import io.sphere.sdk.search.TermFacetExpression;
import javax.annotation.Nullable;
import java.util.function.Function;
public class TermFacetSearchModel extends FacetSearchModel {
TermFacetSearchModel(@Nullable final SearchModel parent, final Function typeSerializer, final String alias) {
super(parent, typeSerializer, alias);
}
TermFacetSearchModel(@Nullable final SearchModel parent, final Function typeSerializer) {
super(parent, typeSerializer);
}
@Override
public TermFacetSearchModel withAlias(final String alias) {
return new TermFacetSearchModel<>(this, typeSerializer, alias);
}
@Override
public TermFacetExpression allTerms() {
return super.allTerms();
}
@Override
public FilteredFacetExpression onlyTerm(final V value) {
return super.onlyTerm(value);
}
@Override
public FilteredFacetExpression onlyTerm(final Iterable values) {
return super.onlyTerm(values);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy