public static final class AnalyzeColumnsReq.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder> implements AnalyzeColumnsReqOrBuilder
tipb.AnalyzeColumnsReq
Modifier and Type | Method and Description |
---|---|
AnalyzeColumnsReq.Builder |
addAllColumnsInfo(Iterable<? extends ColumnInfo> values)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
addColumnsInfo(ColumnInfo.Builder builderForValue)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
addColumnsInfo(ColumnInfo value)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
addColumnsInfo(int index,
ColumnInfo.Builder builderForValue)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
addColumnsInfo(int index,
ColumnInfo value)
columns_info is the info of all the columns that needs to be analyzed.
|
ColumnInfo.Builder |
addColumnsInfoBuilder()
columns_info is the info of all the columns that needs to be analyzed.
|
ColumnInfo.Builder |
addColumnsInfoBuilder(int index)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnalyzeColumnsReq |
build() |
AnalyzeColumnsReq |
buildPartial() |
AnalyzeColumnsReq.Builder |
clear() |
AnalyzeColumnsReq.Builder |
clearBucketSize()
bucket_size is the max histograms bucket size, we need this because when primary key is handle,
the histogram will be directly built.
|
AnalyzeColumnsReq.Builder |
clearCmsketchDepth()
optional int32 cmsketch_depth = 5; |
AnalyzeColumnsReq.Builder |
clearCmsketchWidth()
optional int32 cmsketch_width = 6; |
AnalyzeColumnsReq.Builder |
clearColumnsInfo()
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AnalyzeColumnsReq.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AnalyzeColumnsReq.Builder |
clearSampleSize()
sample_size is the max number of samples that will be collected.
|
AnalyzeColumnsReq.Builder |
clearSketchSize()
sketch_size is the max sketch size.
|
AnalyzeColumnsReq.Builder |
clone() |
long |
getBucketSize()
bucket_size is the max histograms bucket size, we need this because when primary key is handle,
the histogram will be directly built.
|
int |
getCmsketchDepth()
optional int32 cmsketch_depth = 5; |
int |
getCmsketchWidth()
optional int32 cmsketch_width = 6; |
ColumnInfo |
getColumnsInfo(int index)
columns_info is the info of all the columns that needs to be analyzed.
|
ColumnInfo.Builder |
getColumnsInfoBuilder(int index)
columns_info is the info of all the columns that needs to be analyzed.
|
List<ColumnInfo.Builder> |
getColumnsInfoBuilderList()
columns_info is the info of all the columns that needs to be analyzed.
|
int |
getColumnsInfoCount()
columns_info is the info of all the columns that needs to be analyzed.
|
List<ColumnInfo> |
getColumnsInfoList()
columns_info is the info of all the columns that needs to be analyzed.
|
ColumnInfoOrBuilder |
getColumnsInfoOrBuilder(int index)
columns_info is the info of all the columns that needs to be analyzed.
|
List<? extends ColumnInfoOrBuilder> |
getColumnsInfoOrBuilderList()
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getSampleSize()
sample_size is the max number of samples that will be collected.
|
long |
getSketchSize()
sketch_size is the max sketch size.
|
boolean |
hasBucketSize()
bucket_size is the max histograms bucket size, we need this because when primary key is handle,
the histogram will be directly built.
|
boolean |
hasCmsketchDepth()
optional int32 cmsketch_depth = 5; |
boolean |
hasCmsketchWidth()
optional int32 cmsketch_width = 6; |
boolean |
hasSampleSize()
sample_size is the max number of samples that will be collected.
|
boolean |
hasSketchSize()
sketch_size is the max sketch size.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AnalyzeColumnsReq.Builder |
mergeFrom(AnalyzeColumnsReq other) |
AnalyzeColumnsReq.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AnalyzeColumnsReq.Builder |
mergeFrom(com.google.protobuf.Message other) |
AnalyzeColumnsReq.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AnalyzeColumnsReq.Builder |
removeColumnsInfo(int index)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
setBucketSize(long value)
bucket_size is the max histograms bucket size, we need this because when primary key is handle,
the histogram will be directly built.
|
AnalyzeColumnsReq.Builder |
setCmsketchDepth(int value)
optional int32 cmsketch_depth = 5; |
AnalyzeColumnsReq.Builder |
setCmsketchWidth(int value)
optional int32 cmsketch_width = 6; |
AnalyzeColumnsReq.Builder |
setColumnsInfo(int index,
ColumnInfo.Builder builderForValue)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
setColumnsInfo(int index,
ColumnInfo value)
columns_info is the info of all the columns that needs to be analyzed.
|
AnalyzeColumnsReq.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AnalyzeColumnsReq.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AnalyzeColumnsReq.Builder |
setSampleSize(long value)
sample_size is the max number of samples that will be collected.
|
AnalyzeColumnsReq.Builder |
setSketchSize(long value)
sketch_size is the max sketch size.
|
AnalyzeColumnsReq.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.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<AnalyzeColumnsReq.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<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AnalyzeColumnsReq build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AnalyzeColumnsReq buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AnalyzeColumnsReq.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.Builder mergeFrom(AnalyzeColumnsReq other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public AnalyzeColumnsReq.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<AnalyzeColumnsReq.Builder>
IOException
public boolean hasBucketSize()
bucket_size is the max histograms bucket size, we need this because when primary key is handle, the histogram will be directly built.
optional int64 bucket_size = 1 [(.gogoproto.nullable) = false];
hasBucketSize
in interface AnalyzeColumnsReqOrBuilder
public long getBucketSize()
bucket_size is the max histograms bucket size, we need this because when primary key is handle, the histogram will be directly built.
optional int64 bucket_size = 1 [(.gogoproto.nullable) = false];
getBucketSize
in interface AnalyzeColumnsReqOrBuilder
public AnalyzeColumnsReq.Builder setBucketSize(long value)
bucket_size is the max histograms bucket size, we need this because when primary key is handle, the histogram will be directly built.
optional int64 bucket_size = 1 [(.gogoproto.nullable) = false];
value
- The bucketSize to set.public AnalyzeColumnsReq.Builder clearBucketSize()
bucket_size is the max histograms bucket size, we need this because when primary key is handle, the histogram will be directly built.
optional int64 bucket_size = 1 [(.gogoproto.nullable) = false];
public boolean hasSampleSize()
sample_size is the max number of samples that will be collected.
optional int64 sample_size = 2 [(.gogoproto.nullable) = false];
hasSampleSize
in interface AnalyzeColumnsReqOrBuilder
public long getSampleSize()
sample_size is the max number of samples that will be collected.
optional int64 sample_size = 2 [(.gogoproto.nullable) = false];
getSampleSize
in interface AnalyzeColumnsReqOrBuilder
public AnalyzeColumnsReq.Builder setSampleSize(long value)
sample_size is the max number of samples that will be collected.
optional int64 sample_size = 2 [(.gogoproto.nullable) = false];
value
- The sampleSize to set.public AnalyzeColumnsReq.Builder clearSampleSize()
sample_size is the max number of samples that will be collected.
optional int64 sample_size = 2 [(.gogoproto.nullable) = false];
public boolean hasSketchSize()
sketch_size is the max sketch size.
optional int64 sketch_size = 3 [(.gogoproto.nullable) = false];
hasSketchSize
in interface AnalyzeColumnsReqOrBuilder
public long getSketchSize()
sketch_size is the max sketch size.
optional int64 sketch_size = 3 [(.gogoproto.nullable) = false];
getSketchSize
in interface AnalyzeColumnsReqOrBuilder
public AnalyzeColumnsReq.Builder setSketchSize(long value)
sketch_size is the max sketch size.
optional int64 sketch_size = 3 [(.gogoproto.nullable) = false];
value
- The sketchSize to set.public AnalyzeColumnsReq.Builder clearSketchSize()
sketch_size is the max sketch size.
optional int64 sketch_size = 3 [(.gogoproto.nullable) = false];
public List<ColumnInfo> getColumnsInfoList()
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
getColumnsInfoList
in interface AnalyzeColumnsReqOrBuilder
public int getColumnsInfoCount()
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
getColumnsInfoCount
in interface AnalyzeColumnsReqOrBuilder
public ColumnInfo getColumnsInfo(int index)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
getColumnsInfo
in interface AnalyzeColumnsReqOrBuilder
public AnalyzeColumnsReq.Builder setColumnsInfo(int index, ColumnInfo value)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder setColumnsInfo(int index, ColumnInfo.Builder builderForValue)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder addColumnsInfo(ColumnInfo value)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder addColumnsInfo(int index, ColumnInfo value)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder addColumnsInfo(ColumnInfo.Builder builderForValue)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder addColumnsInfo(int index, ColumnInfo.Builder builderForValue)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder addAllColumnsInfo(Iterable<? extends ColumnInfo> values)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder clearColumnsInfo()
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public AnalyzeColumnsReq.Builder removeColumnsInfo(int index)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public ColumnInfo.Builder getColumnsInfoBuilder(int index)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public ColumnInfoOrBuilder getColumnsInfoOrBuilder(int index)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
getColumnsInfoOrBuilder
in interface AnalyzeColumnsReqOrBuilder
public List<? extends ColumnInfoOrBuilder> getColumnsInfoOrBuilderList()
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
getColumnsInfoOrBuilderList
in interface AnalyzeColumnsReqOrBuilder
public ColumnInfo.Builder addColumnsInfoBuilder()
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public ColumnInfo.Builder addColumnsInfoBuilder(int index)
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public List<ColumnInfo.Builder> getColumnsInfoBuilderList()
columns_info is the info of all the columns that needs to be analyzed.
repeated .tipb.ColumnInfo columns_info = 4;
public boolean hasCmsketchDepth()
optional int32 cmsketch_depth = 5;
hasCmsketchDepth
in interface AnalyzeColumnsReqOrBuilder
public int getCmsketchDepth()
optional int32 cmsketch_depth = 5;
getCmsketchDepth
in interface AnalyzeColumnsReqOrBuilder
public AnalyzeColumnsReq.Builder setCmsketchDepth(int value)
optional int32 cmsketch_depth = 5;
value
- The cmsketchDepth to set.public AnalyzeColumnsReq.Builder clearCmsketchDepth()
optional int32 cmsketch_depth = 5;
public boolean hasCmsketchWidth()
optional int32 cmsketch_width = 6;
hasCmsketchWidth
in interface AnalyzeColumnsReqOrBuilder
public int getCmsketchWidth()
optional int32 cmsketch_width = 6;
getCmsketchWidth
in interface AnalyzeColumnsReqOrBuilder
public AnalyzeColumnsReq.Builder setCmsketchWidth(int value)
optional int32 cmsketch_width = 6;
value
- The cmsketchWidth to set.public AnalyzeColumnsReq.Builder clearCmsketchWidth()
optional int32 cmsketch_width = 6;
public final AnalyzeColumnsReq.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
public final AnalyzeColumnsReq.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AnalyzeColumnsReq.Builder>
Copyright © 2024 PingCAP. All rights reserved.