Package org.apache.drill.exec.proto
Class UserProtos.PreparedStatement.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
org.apache.drill.exec.proto.UserProtos.PreparedStatement.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserProtos.PreparedStatementOrBuilder
- Enclosing class:
- UserProtos.PreparedStatement
public static final class UserProtos.PreparedStatement.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
implements UserProtos.PreparedStatementOrBuilder
Prepared statement. It contains the query metadata and handle to prepared statement state on server.Protobuf type
exec.user.PreparedStatement
-
Method Summary
Modifier and TypeMethodDescriptionaddAllColumns
(Iterable<? extends UserProtos.ResultColumnMetadata> values) repeated .exec.user.ResultColumnMetadata columns = 1;
addColumns
(int index, UserProtos.ResultColumnMetadata value) repeated .exec.user.ResultColumnMetadata columns = 1;
addColumns
(int index, UserProtos.ResultColumnMetadata.Builder builderForValue) repeated .exec.user.ResultColumnMetadata columns = 1;
repeated .exec.user.ResultColumnMetadata columns = 1;
addColumns
(UserProtos.ResultColumnMetadata.Builder builderForValue) repeated .exec.user.ResultColumnMetadata columns = 1;
repeated .exec.user.ResultColumnMetadata columns = 1;
addColumnsBuilder
(int index) repeated .exec.user.ResultColumnMetadata columns = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .exec.user.ResultColumnMetadata columns = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) In order to execute the prepared statement, clients need to submit this object in RunQuery message.clone()
getColumns
(int index) repeated .exec.user.ResultColumnMetadata columns = 1;
getColumnsBuilder
(int index) repeated .exec.user.ResultColumnMetadata columns = 1;
repeated .exec.user.ResultColumnMetadata columns = 1;
int
repeated .exec.user.ResultColumnMetadata columns = 1;
repeated .exec.user.ResultColumnMetadata columns = 1;
getColumnsOrBuilder
(int index) repeated .exec.user.ResultColumnMetadata columns = 1;
List<? extends UserProtos.ResultColumnMetadataOrBuilder>
repeated .exec.user.ResultColumnMetadata columns = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
In order to execute the prepared statement, clients need to submit this object in RunQuery message.In order to execute the prepared statement, clients need to submit this object in RunQuery message.In order to execute the prepared statement, clients need to submit this object in RunQuery message.boolean
In order to execute the prepared statement, clients need to submit this object in RunQuery message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) In order to execute the prepared statement, clients need to submit this object in RunQuery message.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeColumns
(int index) repeated .exec.user.ResultColumnMetadata columns = 1;
setColumns
(int index, UserProtos.ResultColumnMetadata value) repeated .exec.user.ResultColumnMetadata columns = 1;
setColumns
(int index, UserProtos.ResultColumnMetadata.Builder builderForValue) repeated .exec.user.ResultColumnMetadata columns = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) In order to execute the prepared statement, clients need to submit this object in RunQuery message.setServerHandle
(UserProtos.PreparedStatementHandle.Builder builderForValue) In order to execute the prepared statement, clients need to submit this object in RunQuery message.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
setField
public UserProtos.PreparedStatement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
clearField
public UserProtos.PreparedStatement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
clearOneof
public UserProtos.PreparedStatement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
setRepeatedField
public UserProtos.PreparedStatement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
addRepeatedField
public UserProtos.PreparedStatement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.PreparedStatement.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
mergeFrom
public UserProtos.PreparedStatement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.PreparedStatement.Builder>
- Throws:
IOException
-
getColumnsList
repeated .exec.user.ResultColumnMetadata columns = 1;
- Specified by:
getColumnsList
in interfaceUserProtos.PreparedStatementOrBuilder
-
getColumnsCount
public int getColumnsCount()repeated .exec.user.ResultColumnMetadata columns = 1;
- Specified by:
getColumnsCount
in interfaceUserProtos.PreparedStatementOrBuilder
-
getColumns
repeated .exec.user.ResultColumnMetadata columns = 1;
- Specified by:
getColumns
in interfaceUserProtos.PreparedStatementOrBuilder
-
setColumns
public UserProtos.PreparedStatement.Builder setColumns(int index, UserProtos.ResultColumnMetadata value) repeated .exec.user.ResultColumnMetadata columns = 1;
-
setColumns
public UserProtos.PreparedStatement.Builder setColumns(int index, UserProtos.ResultColumnMetadata.Builder builderForValue) repeated .exec.user.ResultColumnMetadata columns = 1;
-
addColumns
repeated .exec.user.ResultColumnMetadata columns = 1;
-
addColumns
public UserProtos.PreparedStatement.Builder addColumns(int index, UserProtos.ResultColumnMetadata value) repeated .exec.user.ResultColumnMetadata columns = 1;
-
addColumns
public UserProtos.PreparedStatement.Builder addColumns(UserProtos.ResultColumnMetadata.Builder builderForValue) repeated .exec.user.ResultColumnMetadata columns = 1;
-
addColumns
public UserProtos.PreparedStatement.Builder addColumns(int index, UserProtos.ResultColumnMetadata.Builder builderForValue) repeated .exec.user.ResultColumnMetadata columns = 1;
-
addAllColumns
public UserProtos.PreparedStatement.Builder addAllColumns(Iterable<? extends UserProtos.ResultColumnMetadata> values) repeated .exec.user.ResultColumnMetadata columns = 1;
-
clearColumns
repeated .exec.user.ResultColumnMetadata columns = 1;
-
removeColumns
repeated .exec.user.ResultColumnMetadata columns = 1;
-
getColumnsBuilder
repeated .exec.user.ResultColumnMetadata columns = 1;
-
getColumnsOrBuilder
repeated .exec.user.ResultColumnMetadata columns = 1;
- Specified by:
getColumnsOrBuilder
in interfaceUserProtos.PreparedStatementOrBuilder
-
getColumnsOrBuilderList
repeated .exec.user.ResultColumnMetadata columns = 1;
- Specified by:
getColumnsOrBuilderList
in interfaceUserProtos.PreparedStatementOrBuilder
-
addColumnsBuilder
repeated .exec.user.ResultColumnMetadata columns = 1;
-
addColumnsBuilder
repeated .exec.user.ResultColumnMetadata columns = 1;
-
getColumnsBuilderList
repeated .exec.user.ResultColumnMetadata columns = 1;
-
hasServerHandle
public boolean hasServerHandle()In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
- Specified by:
hasServerHandle
in interfaceUserProtos.PreparedStatementOrBuilder
- Returns:
- Whether the serverHandle field is set.
-
getServerHandle
In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
- Specified by:
getServerHandle
in interfaceUserProtos.PreparedStatementOrBuilder
- Returns:
- The serverHandle.
-
setServerHandle
public UserProtos.PreparedStatement.Builder setServerHandle(UserProtos.PreparedStatementHandle value) In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
-
setServerHandle
public UserProtos.PreparedStatement.Builder setServerHandle(UserProtos.PreparedStatementHandle.Builder builderForValue) In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
-
mergeServerHandle
public UserProtos.PreparedStatement.Builder mergeServerHandle(UserProtos.PreparedStatementHandle value) In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
-
clearServerHandle
In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
-
getServerHandleBuilder
In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
-
getServerHandleOrBuilder
In order to execute the prepared statement, clients need to submit this object in RunQuery message.
optional .exec.user.PreparedStatementHandle server_handle = 2;
- Specified by:
getServerHandleOrBuilder
in interfaceUserProtos.PreparedStatementOrBuilder
-
setUnknownFields
public final UserProtos.PreparedStatement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-
mergeUnknownFields
public final UserProtos.PreparedStatement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.PreparedStatement.Builder>
-