public static final class Tablet.SQLBatchRequestQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements Tablet.SQLBatchRequestQueryRequestOrBuilder
Batch request rows encoding:
(1) Multiple rows are stored in attachment consecutively and use `row_sizes`
to find each row's start offset in attachment buffer. Multiple slices in
row are stored consecutively also, with slice size encoded just in slice data.
(2) If non-trival common columns exist
- `row_sizes` store N+1 integers, the first is the total size of common row part,
the next N is total size of each non-common row part from batch.
- `common_slices` represent common row's slices num.
- `non_common_slices` represent non-common row's slices num.
- the actual ith row is concat of common row part and ith non-common row part.
(3) else
- `row_sizes` store N integers, each record total size (sum of slice sizes) of
one row from batch.
- `common_slices` = 0
- `non_common_slices` represent slices num of each row.
Protobuf type openmldb.api.SQLBatchRequestQueryRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Tablet.SQLBatchRequestQueryRequest.Builder
Batch request rows encoding:
(1) Multiple rows are stored in attachment consecutively and use `row_sizes`
to find each row's start offset in attachment buffer.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
COMMON_COLUMN_INDICES_FIELD_NUMBER |
static int |
COMMON_SLICES_FIELD_NUMBER |
static int |
DB_FIELD_NUMBER |
static int |
IS_DEBUG_FIELD_NUMBER |
static int |
IS_PROCEDURE_FIELD_NUMBER |
static int |
NON_COMMON_SLICES_FIELD_NUMBER |
static com.google.protobuf.Parser<Tablet.SQLBatchRequestQueryRequest> |
PARSER
Deprecated.
|
static int |
ROW_SIZES_FIELD_NUMBER |
static int |
SP_NAME_FIELD_NUMBER |
static int |
SQL_FIELD_NUMBER |
static int |
TASK_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCommonColumnIndices(int index)
repeated uint32 common_column_indices = 3; |
int |
getCommonColumnIndicesCount()
repeated uint32 common_column_indices = 3; |
List<Integer> |
getCommonColumnIndicesList()
repeated uint32 common_column_indices = 3; |
int |
getCommonSlices()
optional uint32 common_slices = 8; |
String |
getDb()
optional string db = 2; |
com.google.protobuf.ByteString |
getDbBytes()
optional string db = 2; |
static Tablet.SQLBatchRequestQueryRequest |
getDefaultInstance() |
Tablet.SQLBatchRequestQueryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsDebug()
optional bool is_debug = 4 [default = false]; |
boolean |
getIsProcedure()
optional bool is_procedure = 6 [default = false]; |
int |
getNonCommonSlices()
optional uint32 non_common_slices = 9; |
com.google.protobuf.Parser<Tablet.SQLBatchRequestQueryRequest> |
getParserForType() |
int |
getRowSizes(int index)
repeated uint32 row_sizes = 7; |
int |
getRowSizesCount()
repeated uint32 row_sizes = 7; |
List<Integer> |
getRowSizesList()
repeated uint32 row_sizes = 7; |
int |
getSerializedSize() |
String |
getSpName()
optional string sp_name = 5; |
com.google.protobuf.ByteString |
getSpNameBytes()
optional string sp_name = 5; |
String |
getSql()
optional string sql = 1; |
com.google.protobuf.ByteString |
getSqlBytes()
optional string sql = 1; |
long |
getTaskId()
optional uint64 task_id = 10; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCommonSlices()
optional uint32 common_slices = 8; |
boolean |
hasDb()
optional string db = 2; |
int |
hashCode() |
boolean |
hasIsDebug()
optional bool is_debug = 4 [default = false]; |
boolean |
hasIsProcedure()
optional bool is_procedure = 6 [default = false]; |
boolean |
hasNonCommonSlices()
optional uint32 non_common_slices = 9; |
boolean |
hasSpName()
optional string sp_name = 5; |
boolean |
hasSql()
optional string sql = 1; |
boolean |
hasTaskId()
optional uint64 task_id = 10; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Tablet.SQLBatchRequestQueryRequest.Builder |
newBuilder() |
static Tablet.SQLBatchRequestQueryRequest.Builder |
newBuilder(Tablet.SQLBatchRequestQueryRequest prototype) |
Tablet.SQLBatchRequestQueryRequest.Builder |
newBuilderForType() |
protected Tablet.SQLBatchRequestQueryRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Tablet.SQLBatchRequestQueryRequest |
parseDelimitedFrom(InputStream input) |
static Tablet.SQLBatchRequestQueryRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(byte[] data) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(ByteBuffer data) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(InputStream input) |
static Tablet.SQLBatchRequestQueryRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Tablet.SQLBatchRequestQueryRequest> |
parser() |
Tablet.SQLBatchRequestQueryRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SQL_FIELD_NUMBER
public static final int DB_FIELD_NUMBER
public static final int COMMON_COLUMN_INDICES_FIELD_NUMBER
public static final int IS_DEBUG_FIELD_NUMBER
public static final int SP_NAME_FIELD_NUMBER
public static final int IS_PROCEDURE_FIELD_NUMBER
public static final int ROW_SIZES_FIELD_NUMBER
public static final int COMMON_SLICES_FIELD_NUMBER
public static final int NON_COMMON_SLICES_FIELD_NUMBER
public static final int TASK_ID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Tablet.SQLBatchRequestQueryRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasSql()
optional string sql = 1;hasSql in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic String getSql()
optional string sql = 1;getSql in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic com.google.protobuf.ByteString getSqlBytes()
optional string sql = 1;getSqlBytes in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasDb()
optional string db = 2;hasDb in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic String getDb()
optional string db = 2;getDb in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic com.google.protobuf.ByteString getDbBytes()
optional string db = 2;getDbBytes in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic List<Integer> getCommonColumnIndicesList()
repeated uint32 common_column_indices = 3;getCommonColumnIndicesList in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic int getCommonColumnIndicesCount()
repeated uint32 common_column_indices = 3;getCommonColumnIndicesCount in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic int getCommonColumnIndices(int index)
repeated uint32 common_column_indices = 3;getCommonColumnIndices in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasIsDebug()
optional bool is_debug = 4 [default = false];hasIsDebug in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean getIsDebug()
optional bool is_debug = 4 [default = false];getIsDebug in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasSpName()
optional string sp_name = 5;hasSpName in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic String getSpName()
optional string sp_name = 5;getSpName in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic com.google.protobuf.ByteString getSpNameBytes()
optional string sp_name = 5;getSpNameBytes in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasIsProcedure()
optional bool is_procedure = 6 [default = false];hasIsProcedure in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean getIsProcedure()
optional bool is_procedure = 6 [default = false];getIsProcedure in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic List<Integer> getRowSizesList()
repeated uint32 row_sizes = 7;getRowSizesList in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic int getRowSizesCount()
repeated uint32 row_sizes = 7;getRowSizesCount in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic int getRowSizes(int index)
repeated uint32 row_sizes = 7;getRowSizes in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasCommonSlices()
optional uint32 common_slices = 8;hasCommonSlices in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic int getCommonSlices()
optional uint32 common_slices = 8;getCommonSlices in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasNonCommonSlices()
optional uint32 non_common_slices = 9;hasNonCommonSlices in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic int getNonCommonSlices()
optional uint32 non_common_slices = 9;getNonCommonSlices in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic boolean hasTaskId()
optional uint64 task_id = 10;hasTaskId in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic long getTaskId()
optional uint64 task_id = 10;getTaskId in interface Tablet.SQLBatchRequestQueryRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Tablet.SQLBatchRequestQueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Tablet.SQLBatchRequestQueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Tablet.SQLBatchRequestQueryRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Tablet.SQLBatchRequestQueryRequest.Builder newBuilder()
public static Tablet.SQLBatchRequestQueryRequest.Builder newBuilder(Tablet.SQLBatchRequestQueryRequest prototype)
public Tablet.SQLBatchRequestQueryRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Tablet.SQLBatchRequestQueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Tablet.SQLBatchRequestQueryRequest getDefaultInstance()
public static com.google.protobuf.Parser<Tablet.SQLBatchRequestQueryRequest> parser()
public com.google.protobuf.Parser<Tablet.SQLBatchRequestQueryRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Tablet.SQLBatchRequestQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.