Interface CellIdSource.GeoPointLongEncoder

Enclosing class:
CellIdSource
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public static interface CellIdSource.GeoPointLongEncoder
The encoder to use to convert a geopoint's (lon, lat, precision) into a long-encoded bucket key for aggregating.
  • Method Summary

    Modifier and Type Method Description
    long encode​(double lon, double lat, int precision)  
  • Method Details

    • encode

      long encode​(double lon, double lat, int precision)