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

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

The newest version!
package io.sphere.sdk.queries;

import io.sphere.sdk.models.Point;

import javax.annotation.Nullable;

class GeoJSONQueryModelImpl extends QueryModelImpl implements GeoJSONQueryModel {

    GeoJSONQueryModelImpl(@Nullable final QueryModel parent, @Nullable final String pathSegment) {
        super(parent, pathSegment);
    }

    @Override
    public QueryPredicate isPresent() {
        return isPresentPredicate();
    }

    @Override
    public QueryPredicate isNotPresent() {
        return isNotPresentPredicate();
    }

    @Override
    public QueryPredicate withinCircle(final Point center, final Double radius) {
        return withinCirclePredicate(center, radius);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy