public static final class FlightSql.SubstraitPlan.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder> implements FlightSql.SubstraitPlanOrBuilder
An embedded message describing a Substrait plan to execute.Protobuf type
arrow.flight.protocol.sql.SubstraitPlan
Modifier and Type | Method and Description |
---|---|
FlightSql.SubstraitPlan |
build() |
FlightSql.SubstraitPlan |
buildPartial() |
FlightSql.SubstraitPlan.Builder |
clear() |
FlightSql.SubstraitPlan.Builder |
clearPlan()
The serialized substrait.Plan to create a prepared statement for.
|
FlightSql.SubstraitPlan.Builder |
clearVersion()
The Substrait release, e.g.
|
FlightSql.SubstraitPlan |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPlan()
The serialized substrait.Plan to create a prepared statement for.
|
String |
getVersion()
The Substrait release, e.g.
|
com.google.protobuf.ByteString |
getVersionBytes()
The Substrait release, e.g.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.SubstraitPlan.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.SubstraitPlan.Builder |
mergeFrom(FlightSql.SubstraitPlan other) |
FlightSql.SubstraitPlan.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.SubstraitPlan.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.SubstraitPlan.Builder |
setPlan(com.google.protobuf.ByteString value)
The serialized substrait.Plan to create a prepared statement for.
|
FlightSql.SubstraitPlan.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.SubstraitPlan.Builder |
setVersion(String value)
The Substrait release, e.g.
|
FlightSql.SubstraitPlan.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
The Substrait release, e.g.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder>
public FlightSql.SubstraitPlan.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder>
public FlightSql.SubstraitPlan getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlightSql.SubstraitPlan build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.SubstraitPlan buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.SubstraitPlan.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.SubstraitPlan.Builder>
public FlightSql.SubstraitPlan.Builder mergeFrom(FlightSql.SubstraitPlan other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder>
public FlightSql.SubstraitPlan.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.SubstraitPlan.Builder>
IOException
public 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;
getPlan
in interface FlightSql.SubstraitPlanOrBuilder
public FlightSql.SubstraitPlan.Builder setPlan(com.google.protobuf.ByteString value)
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;
value
- The plan to set.public FlightSql.SubstraitPlan.Builder clearPlan()
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;
public 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;
getVersion
in interface FlightSql.SubstraitPlanOrBuilder
public 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;
getVersionBytes
in interface FlightSql.SubstraitPlanOrBuilder
public FlightSql.SubstraitPlan.Builder setVersion(String value)
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;
value
- The version to set.public FlightSql.SubstraitPlan.Builder clearVersion()
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;
public FlightSql.SubstraitPlan.Builder setVersionBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for version to set.public final FlightSql.SubstraitPlan.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder>
public final FlightSql.SubstraitPlan.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.SubstraitPlan.Builder>
Copyright © 2024 The Apache Software Foundation. All rights reserved.