Class OperatorExportToWkb

    • Constructor Detail

      • OperatorExportToWkb

        public OperatorExportToWkb()
    • Method Detail

      • execute

        public abstract java.nio.ByteBuffer execute​(int exportFlags,
                                                    Geometry geometry,
                                                    ProgressTracker progressTracker)
        Performs the ExportToWKB operation.
        Parameters:
        exportFlags - Use the WkbExportFlags interface.
        geometry - The Geometry being exported.
        Returns:
        Returns a ByteBuffer object containing the Geometry in WKB format
      • execute

        public abstract int execute​(int exportFlags,
                                    Geometry geometry,
                                    java.nio.ByteBuffer wkbBuffer,
                                    ProgressTracker progressTracker)
        Performs the ExportToWKB operation.
        Parameters:
        exportFlags - Use the WkbExportFlags interface.
        geometry - The Geometry being exported.
        wkbBuffer - The ByteBuffer to contain the exported Geometry in WKB format.
        Returns:
        If the input buffer is null, then the size needed for the buffer is returned. Otherwise the number of bytes written to the buffer is returned.