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

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

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.search.model;

import javax.annotation.Nullable;
import java.util.function.Function;

class RangeTermModelImpl> extends SearchModelImpl implements RangeTermModel {
    private final Function typeSerializer;

    RangeTermModelImpl(@Nullable final SearchModel parent, @Nullable final String pathSegment, final Function typeSerializer) {
        super(parent, pathSegment);
        this.typeSerializer = typeSerializer;
    }

    @Override
    public RangeTermFilterSearchModel filtered() {
        return new RangeTermFilterSearchModel<>(this, typeSerializer);
    }

    @Override
    public RangeTermFacetSearchModel faceted() {
        return new RangeTermFacetSearchModel<>(this, typeSerializer);
    }

    @Override
    public RangeTermFacetAndFilterSearchModel facetedAndFiltered() {
        return new RangeTermFacetAndFilterSearchModel<>(this);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy