class EncodedPolylineFunctions {

    @Description("Decodes a polyline to a linestring")
    @ScalarFunction("from_encoded_polyline")
    @SqlType(GEOMETRY_TYPE_NAME)
    public static Slice fromEncodedPolyline(@SqlType(StandardTypes.VARCHAR) Slice input)
    {
        return serialize(decodePolyline(input.toStringUtf8()));
    }

    private  EncodedPolylineFunctions();

}