io.sphere.sdk.queries.TimestampSortingModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.queries;
import javax.annotation.Nullable;
final class TimestampSortingModelImpl extends QueryModelImpl implements TimestampSortingModel {
public TimestampSortingModelImpl(@Nullable final QueryModel parent, @Nullable final String pathSegment) {
super(parent, pathSegment);
}
@Override
public QuerySort sort(final QuerySortDirection sortDirection) {
return new SphereQuerySort<>(this, sortDirection);
}
@Override
public DirectionlessQuerySort sort() {
return new DirectionlessQuerySort<>(this);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy