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

io.sphere.sdk.queries.TimestampSortingModelImpl Maven / Gradle / Ivy

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