Table of Contents

Class FlightSqlUtils

Namespace
Apache.Arrow.Flight.Sql
Assembly
Apache.Arrow.Flight.Sql.dll

Helper methods for doing common Flight Sql tasks and conversions

public class FlightSqlUtils
Inheritance
FlightSqlUtils
Inherited Members

Fields

FlightSqlActions

List of possible actions

public static readonly List<FlightActionType> FlightSqlActions

Field Value

List<FlightActionType>

FlightSqlClosePreparedStatement

public static readonly FlightActionType FlightSqlClosePreparedStatement

Field Value

FlightActionType

FlightSqlCreatePreparedStatement

public static readonly FlightActionType FlightSqlCreatePreparedStatement

Field Value

FlightActionType

Methods

Parse(ByteString)

Helper to parse {@link com.google.protobuf.Any} objects to the specific protobuf object.

public static Any Parse(ByteString source)

Parameters

source ByteString

the raw bytes source value.

Returns

Any

the materialized protobuf object.

ParseAndUnpack<T>(ByteString)

Helper to parse and unpack {@link com.google.protobuf.Any} objects to the specific protobuf object.

public static T ParseAndUnpack<T>(ByteString source) where T : IMessage, new()

Parameters

source ByteString

the raw bytes source value.

Returns

T

the materialized protobuf object.

Type Parameters

T

IMessage

Unpack<T>(Any)

Helper to unpack {@link com.google.protobuf.Any} objects to the specific protobuf object.

public static T Unpack<T>(Any source) where T : IMessage, new()

Parameters

source Any

the parsed Source value.

Returns

T

the materialized protobuf object.

Type Parameters

T

IMessage