Package xyz.block.ftl.query.v1
Class ExecuteQueryRequest
-
- All Implemented Interfaces:
-
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable,xyz.block.ftl.query.v1.ExecuteQueryRequestOrBuilder
public final class ExecuteQueryRequest extends GeneratedMessageV3 implements ExecuteQueryRequestOrBuilder
Protobuf type
xyz.block.ftl.query.v1.ExecuteQueryRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExecuteQueryRequest.BuilderProtobuf type
xyz.block.ftl.query.v1.ExecuteQueryRequest
-
Field Summary
Fields Modifier and Type Field Description public final static intDATABASE_NAME_FIELD_NUMBERpublic final static intRAW_SQL_FIELD_NUMBERpublic final static intCOMMAND_TYPE_FIELD_NUMBERpublic final static intPARAMETERS_JSON_FIELD_NUMBERpublic final static intRESULT_COLUMNS_FIELD_NUMBERpublic final static intTRANSACTION_ID_FIELD_NUMBERpublic final static intBATCH_SIZE_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description final static Descriptors.DescriptorgetDescriptor()StringgetDatabaseName()Name of the database to querystring database_name = 1;ByteStringgetDatabaseNameBytes()Name of the database to querystring database_name = 1;StringgetRawSql()string raw_sql = 2;ByteStringgetRawSqlBytes()string raw_sql = 2;intgetCommandTypeValue().xyz.block.ftl.query.v1.CommandType command_type = 3;CommandTypegetCommandType().xyz.block.ftl.query.v1.CommandType command_type = 3;StringgetParametersJson()JSON array of parameter values in orderstring parameters_json = 4;ByteStringgetParametersJsonBytes()JSON array of parameter values in orderstring parameters_json = 4;List<ResultColumn>getResultColumnsList()Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;List<out ResultColumnOrBuilder>getResultColumnsOrBuilderList()Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;intgetResultColumnsCount()Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;ResultColumngetResultColumns(int index)Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;ResultColumnOrBuildergetResultColumnsOrBuilder(int index)Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;booleanhasTransactionId()optional string transaction_id = 6;StringgetTransactionId()optional string transaction_id = 6;ByteStringgetTransactionIdBytes()optional string transaction_id = 6;booleanhasBatchSize()Default 100 if not setoptional int32 batch_size = 7;intgetBatchSize()Default 100 if not setoptional int32 batch_size = 7;final booleanisInitialized()voidwriteTo(CodedOutputStream output)intgetSerializedSize()booleanequals(Object obj)inthashCode()static ExecuteQueryRequestparseFrom(ByteBuffer data)static ExecuteQueryRequestparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static ExecuteQueryRequestparseFrom(ByteString data)static ExecuteQueryRequestparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static ExecuteQueryRequestparseFrom(Array<byte> data)static ExecuteQueryRequestparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static ExecuteQueryRequestparseFrom(InputStream input)static ExecuteQueryRequestparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ExecuteQueryRequestparseDelimitedFrom(InputStream input)static ExecuteQueryRequestparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static ExecuteQueryRequestparseFrom(CodedInputStream input)static ExecuteQueryRequestparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)ExecuteQueryRequest.BuildernewBuilderForType()static ExecuteQueryRequest.BuildernewBuilder()static ExecuteQueryRequest.BuildernewBuilder(ExecuteQueryRequest prototype)ExecuteQueryRequest.BuildertoBuilder()static ExecuteQueryRequestgetDefaultInstance()static Parser<ExecuteQueryRequest>parser()Parser<ExecuteQueryRequest>getParserForType()ExecuteQueryRequestgetDefaultInstanceForType()-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof -
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.Message
getParserForType -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getDescriptor
final static Descriptors.Descriptor getDescriptor()
-
getDatabaseName
String getDatabaseName()
Name of the database to querystring database_name = 1;- Returns:
The databaseName.
-
getDatabaseNameBytes
ByteString getDatabaseNameBytes()
Name of the database to querystring database_name = 1;- Returns:
The bytes for databaseName.
-
getRawSqlBytes
ByteString getRawSqlBytes()
string raw_sql = 2;- Returns:
The bytes for rawSql.
-
getCommandTypeValue
int getCommandTypeValue()
.xyz.block.ftl.query.v1.CommandType command_type = 3;- Returns:
The enum numeric value on the wire for commandType.
-
getCommandType
CommandType getCommandType()
.xyz.block.ftl.query.v1.CommandType command_type = 3;- Returns:
The commandType.
-
getParametersJson
String getParametersJson()
JSON array of parameter values in orderstring parameters_json = 4;- Returns:
The parametersJson.
-
getParametersJsonBytes
ByteString getParametersJsonBytes()
JSON array of parameter values in orderstring parameters_json = 4;- Returns:
The bytes for parametersJson.
-
getResultColumnsList
List<ResultColumn> getResultColumnsList()
Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;
-
getResultColumnsOrBuilderList
List<out ResultColumnOrBuilder> getResultColumnsOrBuilderList()
Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;
-
getResultColumnsCount
int getResultColumnsCount()
Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;
-
getResultColumns
ResultColumn getResultColumns(int index)
Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;
-
getResultColumnsOrBuilder
ResultColumnOrBuilder getResultColumnsOrBuilder(int index)
Column names to scan for the result typerepeated .xyz.block.ftl.query.v1.ResultColumn result_columns = 5;
-
hasTransactionId
boolean hasTransactionId()
optional string transaction_id = 6;- Returns:
Whether the transactionId field is set.
-
getTransactionId
String getTransactionId()
optional string transaction_id = 6;- Returns:
The transactionId.
-
getTransactionIdBytes
ByteString getTransactionIdBytes()
optional string transaction_id = 6;- Returns:
The bytes for transactionId.
-
hasBatchSize
boolean hasBatchSize()
Default 100 if not setoptional int32 batch_size = 7;- Returns:
Whether the batchSize field is set.
-
getBatchSize
int getBatchSize()
Default 100 if not setoptional int32 batch_size = 7;- Returns:
The batchSize.
-
isInitialized
final boolean isInitialized()
-
writeTo
void writeTo(CodedOutputStream output)
-
getSerializedSize
int getSerializedSize()
-
hashCode
int hashCode()
-
parseFrom
static ExecuteQueryRequest parseFrom(ByteBuffer data)
-
parseFrom
static ExecuteQueryRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ExecuteQueryRequest parseFrom(ByteString data)
-
parseFrom
static ExecuteQueryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ExecuteQueryRequest parseFrom(Array<byte> data)
-
parseFrom
static ExecuteQueryRequest parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ExecuteQueryRequest parseFrom(InputStream input)
-
parseFrom
static ExecuteQueryRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static ExecuteQueryRequest parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static ExecuteQueryRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static ExecuteQueryRequest parseFrom(CodedInputStream input)
-
parseFrom
static ExecuteQueryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilderForType
ExecuteQueryRequest.Builder newBuilderForType()
-
newBuilder
static ExecuteQueryRequest.Builder newBuilder()
-
newBuilder
static ExecuteQueryRequest.Builder newBuilder(ExecuteQueryRequest prototype)
-
toBuilder
ExecuteQueryRequest.Builder toBuilder()
-
getDefaultInstance
static ExecuteQueryRequest getDefaultInstance()
-
parser
static Parser<ExecuteQueryRequest> parser()
-
getParserForType
Parser<ExecuteQueryRequest> getParserForType()
-
getDefaultInstanceForType
ExecuteQueryRequest getDefaultInstanceForType()
-
-
-
-