public final class FlightSqlUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<ActionType> |
FLIGHT_SQL_ACTIONS |
static ActionType |
FLIGHT_SQL_BEGIN_SAVEPOINT |
static ActionType |
FLIGHT_SQL_BEGIN_TRANSACTION |
static ActionType |
FLIGHT_SQL_CANCEL_QUERY |
static ActionType |
FLIGHT_SQL_CLOSE_PREPARED_STATEMENT |
static ActionType |
FLIGHT_SQL_CREATE_PREPARED_STATEMENT |
static ActionType |
FLIGHT_SQL_CREATE_PREPARED_SUBSTRAIT_PLAN |
static ActionType |
FLIGHT_SQL_END_SAVEPOINT |
static ActionType |
FLIGHT_SQL_END_TRANSACTION |
| Constructor and Description |
|---|
FlightSqlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.Any |
parseOrThrow(byte[] source)
Helper to parse
Any objects to the specific protobuf object. |
static <T extends com.google.protobuf.Message> |
unpackAndParseOrThrow(byte[] source,
Class<T> as)
Helper to parse and unpack
Any objects to the specific protobuf object. |
static <T extends com.google.protobuf.Message> |
unpackOrThrow(com.google.protobuf.Any source,
Class<T> as)
Helper to unpack
Any objects to the specific protobuf object. |
public static final ActionType FLIGHT_SQL_BEGIN_SAVEPOINT
public static final ActionType FLIGHT_SQL_BEGIN_TRANSACTION
public static final ActionType FLIGHT_SQL_CREATE_PREPARED_STATEMENT
public static final ActionType FLIGHT_SQL_CLOSE_PREPARED_STATEMENT
public static final ActionType FLIGHT_SQL_CREATE_PREPARED_SUBSTRAIT_PLAN
public static final ActionType FLIGHT_SQL_CANCEL_QUERY
public static final ActionType FLIGHT_SQL_END_SAVEPOINT
public static final ActionType FLIGHT_SQL_END_TRANSACTION
public static final List<ActionType> FLIGHT_SQL_ACTIONS
public static com.google.protobuf.Any parseOrThrow(byte[] source)
Any objects to the specific protobuf object.source - the raw bytes source value.public static <T extends com.google.protobuf.Message> T unpackOrThrow(com.google.protobuf.Any source,
Class<T> as)
Any objects to the specific protobuf object.T - the class to unpack as.source - the parsed Source value.as - the class to unpack as.public static <T extends com.google.protobuf.Message> T unpackAndParseOrThrow(byte[] source,
Class<T> as)
Any objects to the specific protobuf object.T - the class to unpack as.source - the raw bytes source value.as - the class to unpack as.Copyright © 2024 The Apache Software Foundation. All rights reserved.