Class ST_AsBinary

  • All Implemented Interfaces:
    org.h2gis.api.Function, org.h2gis.api.ScalarFunction

    public class ST_AsBinary
    extends org.h2gis.api.DeterministicScalarFunction
    Convert a geometry into Well Known Binary..
    Author:
    Nicolas Fortin
    • Constructor Detail

      • ST_AsBinary

        public ST_AsBinary()
    • Method Detail

      • getJavaStaticMethod

        public String getJavaStaticMethod()
      • toBytes

        public static byte[] toBytes​(org.h2.value.Value value)
        Convert a geometry into a binary value.
        Parameters:
        value - Value (which should be a ValueGeometry instance)
        Returns:
        Well Known Binary