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

org.vertexium.query.GeohashBucket Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.query;

import org.vertexium.type.GeoPoint;
import org.vertexium.type.GeoRect;

import java.util.Map;

public abstract class GeohashBucket {
    private final String key;
    private final long count;
    private final GeoPoint geoPoint;
    private final Map nestedResults;

    public GeohashBucket(String key, long count, GeoPoint geoPoint, Map nestedResults) {
        this.key = key;
        this.count = count;
        this.geoPoint = geoPoint;
        this.nestedResults = nestedResults;
    }

    public String getKey() {
        return key;
    }

    public long getCount() {
        return count;
    }

    public GeoPoint getGeoPoint() {
        return geoPoint;
    }

    public abstract GeoRect getGeoCell();

    public Map getNestedResults() {
        return nestedResults;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy