All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.search.model.TermFacetSearchModel Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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