Package org.apache.arrow.flight.sql.impl
Interface FlightSql.SubstraitPlanOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FlightSql.SubstraitPlan
,FlightSql.SubstraitPlan.Builder
- Enclosing class:
- FlightSql
public static interface FlightSql.SubstraitPlanOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteString
getPlan()
The serialized substrait.Plan to create a prepared statement for.The Substrait release, e.g.com.google.protobuf.ByteString
The Substrait release, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPlan
com.google.protobuf.ByteString getPlan()The serialized substrait.Plan to create a prepared statement for. XXX(ARROW-16902): this is bytes instead of an embedded message because Protobuf does not really support one DLL using Protobuf definitions from another DLL.
bytes plan = 1;
- Returns:
- The plan.
-
getVersion
String getVersion()The Substrait release, e.g. "0.12.0". This information is not tracked in the plan itself, so this is the only way for consumers to potentially know if they can handle the plan.
string version = 2;
- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()The Substrait release, e.g. "0.12.0". This information is not tracked in the plan itself, so this is the only way for consumers to potentially know if they can handle the plan.
string version = 2;
- Returns:
- The bytes for version.
-