Class SchemaHelper

java.lang.Object
io.deephaven.proto.flight.util.SchemaHelper

public class SchemaHelper extends Object
  • Constructor Details

    • SchemaHelper

      public SchemaHelper()
  • Method Details

    • schema

      public static org.apache.arrow.vector.types.pojo.Schema schema(ExportedTableCreationResponse response)
      Creates a schema from an export response.
      Parameters:
      response - the response
      Returns:
      the schema
    • flatbufSchema

      public static org.apache.arrow.flatbuf.Schema flatbufSchema(ExportedTableCreationResponse response)
      Creates a flatbuf schema from an export response.
      Parameters:
      response - the response
      Returns:
      the flatbuf schema
    • flatbufSchema

      public static org.apache.arrow.flatbuf.Schema flatbufSchema(ByteBuffer bb)
      Creates a flatbuf Schema from raw bytes of a Message.
      Parameters:
      bb - a bytebuffer that contains a schema in a message
      Returns:
      a flatbuf schema