Class FlightSqlUtils
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
FlightSqlClosePreparedStatement
public static readonly FlightActionType FlightSqlClosePreparedStatement
Field Value
FlightSqlCreatePreparedStatement
public static readonly FlightActionType FlightSqlCreatePreparedStatement
Field Value
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
ByteStringthe 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
ByteStringthe 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
Anythe parsed Source value.
Returns
- T
the materialized protobuf object.
Type Parameters
T
IMessage