io.sphere.sdk.search.model.RangeTermModelImpl Maven / Gradle / Ivy
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 RangeFilterSearchModel filtered() {
return new RangeFilterSearchModel<>(this, typeSerializer);
}
@Override
public RangeFacetSearchModel faceted() {
return new RangeFacetSearchModel<>(this, typeSerializer);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy