Package io.deephaven.proto.flight.util
Class SchemaHelper
java.lang.Object
io.deephaven.proto.flight.util.SchemaHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.arrow.flatbuf.Schema
flatbufSchema
(ExportedTableCreationResponse response) Creates a flatbuf schema from an export response.static org.apache.arrow.flatbuf.Schema
Creates a flatbuf Schema from raw bytes of a Message.static org.apache.arrow.vector.types.pojo.Schema
schema
(ExportedTableCreationResponse response) Creates a schema from an export response.
-
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
Creates a flatbuf schema from an export response.- Parameters:
response
- the response- Returns:
- the flatbuf schema
-
flatbufSchema
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
-