public final class SampleCollector extends org.tikv.shade.com.google.protobuf.GeneratedMessageV3 implements SampleCollectorOrBuilder
SampleCollector is used for collect samples and calculate the count and ndv of an column.Protobuf type
tipb.SampleCollector| 限定符和类型 | 类和说明 |
|---|---|
static class |
SampleCollector.Builder
SampleCollector is used for collect samples and calculate the count and ndv of an column.
|
org.tikv.shade.com.google.protobuf.GeneratedMessageV3.BuilderParent, org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.tikv.shade.com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, org.tikv.shade.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, org.tikv.shade.com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CM_SKETCH_FIELD_NUMBER |
static int |
COUNT_FIELD_NUMBER |
static int |
FM_SKETCH_FIELD_NUMBER |
static int |
NULL_COUNT_FIELD_NUMBER |
static org.tikv.shade.com.google.protobuf.Parser<SampleCollector> |
PARSER
已过时。
|
static int |
SAMPLES_FIELD_NUMBER |
static int |
TOTAL_SIZE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
CMSketch |
getCmSketch()
optional .tipb.CMSketch cm_sketch = 5; |
CMSketchOrBuilder |
getCmSketchOrBuilder()
optional .tipb.CMSketch cm_sketch = 5; |
long |
getCount()
optional int64 count = 3 [(.gogoproto.nullable) = false]; |
static SampleCollector |
getDefaultInstance() |
SampleCollector |
getDefaultInstanceForType() |
static org.tikv.shade.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FMSketch |
getFmSketch()
optional .tipb.FMSketch fm_sketch = 4; |
FMSketchOrBuilder |
getFmSketchOrBuilder()
optional .tipb.FMSketch fm_sketch = 4; |
long |
getNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false]; |
org.tikv.shade.com.google.protobuf.Parser<SampleCollector> |
getParserForType() |
org.tikv.shade.com.google.protobuf.ByteString |
getSamples(int index)
repeated bytes samples = 1; |
int |
getSamplesCount()
repeated bytes samples = 1; |
List<org.tikv.shade.com.google.protobuf.ByteString> |
getSamplesList()
repeated bytes samples = 1; |
int |
getSerializedSize() |
long |
getTotalSize()
optional int64 total_size = 6; |
org.tikv.shade.com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCmSketch()
optional .tipb.CMSketch cm_sketch = 5; |
boolean |
hasCount()
optional int64 count = 3 [(.gogoproto.nullable) = false]; |
boolean |
hasFmSketch()
optional .tipb.FMSketch fm_sketch = 4; |
int |
hashCode() |
boolean |
hasNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false]; |
boolean |
hasTotalSize()
optional int64 total_size = 6; |
protected org.tikv.shade.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SampleCollector.Builder |
newBuilder() |
static SampleCollector.Builder |
newBuilder(SampleCollector prototype) |
SampleCollector.Builder |
newBuilderForType() |
protected SampleCollector.Builder |
newBuilderForType(org.tikv.shade.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static SampleCollector |
parseDelimitedFrom(InputStream input) |
static SampleCollector |
parseDelimitedFrom(InputStream input,
org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(byte[] data) |
static SampleCollector |
parseFrom(byte[] data,
org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(ByteBuffer data) |
static SampleCollector |
parseFrom(ByteBuffer data,
org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(org.tikv.shade.com.google.protobuf.ByteString data) |
static SampleCollector |
parseFrom(org.tikv.shade.com.google.protobuf.ByteString data,
org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(org.tikv.shade.com.google.protobuf.CodedInputStream input) |
static SampleCollector |
parseFrom(org.tikv.shade.com.google.protobuf.CodedInputStream input,
org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(InputStream input) |
static SampleCollector |
parseFrom(InputStream input,
org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.tikv.shade.com.google.protobuf.Parser<SampleCollector> |
parser() |
SampleCollector.Builder |
toBuilder() |
void |
writeTo(org.tikv.shade.com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeTopublic static final int SAMPLES_FIELD_NUMBER
public static final int NULL_COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
public static final int FM_SKETCH_FIELD_NUMBER
public static final int CM_SKETCH_FIELD_NUMBER
public static final int TOTAL_SIZE_FIELD_NUMBER
@Deprecated public static final org.tikv.shade.com.google.protobuf.Parser<SampleCollector> PARSER
public final org.tikv.shade.com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 org.tikv.shade.com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3public static final org.tikv.shade.com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected org.tikv.shade.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3public List<org.tikv.shade.com.google.protobuf.ByteString> getSamplesList()
repeated bytes samples = 1;getSamplesList 在接口中 SampleCollectorOrBuilderpublic int getSamplesCount()
repeated bytes samples = 1;getSamplesCount 在接口中 SampleCollectorOrBuilderpublic org.tikv.shade.com.google.protobuf.ByteString getSamples(int index)
repeated bytes samples = 1;getSamples 在接口中 SampleCollectorOrBuilderpublic boolean hasNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false];hasNullCount 在接口中 SampleCollectorOrBuilderpublic long getNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false];getNullCount 在接口中 SampleCollectorOrBuilderpublic boolean hasCount()
optional int64 count = 3 [(.gogoproto.nullable) = false];hasCount 在接口中 SampleCollectorOrBuilderpublic long getCount()
optional int64 count = 3 [(.gogoproto.nullable) = false];getCount 在接口中 SampleCollectorOrBuilderpublic boolean hasFmSketch()
optional .tipb.FMSketch fm_sketch = 4;hasFmSketch 在接口中 SampleCollectorOrBuilderpublic FMSketch getFmSketch()
optional .tipb.FMSketch fm_sketch = 4;getFmSketch 在接口中 SampleCollectorOrBuilderpublic FMSketchOrBuilder getFmSketchOrBuilder()
optional .tipb.FMSketch fm_sketch = 4;getFmSketchOrBuilder 在接口中 SampleCollectorOrBuilderpublic boolean hasCmSketch()
optional .tipb.CMSketch cm_sketch = 5;hasCmSketch 在接口中 SampleCollectorOrBuilderpublic CMSketch getCmSketch()
optional .tipb.CMSketch cm_sketch = 5;getCmSketch 在接口中 SampleCollectorOrBuilderpublic CMSketchOrBuilder getCmSketchOrBuilder()
optional .tipb.CMSketch cm_sketch = 5;getCmSketchOrBuilder 在接口中 SampleCollectorOrBuilderpublic boolean hasTotalSize()
optional int64 total_size = 6;hasTotalSize 在接口中 SampleCollectorOrBuilderpublic long getTotalSize()
optional int64 total_size = 6;getTotalSize 在接口中 SampleCollectorOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 org.tikv.shade.com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3public void writeTo(org.tikv.shade.com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 org.tikv.shade.com.google.protobuf.MessageLitewriteTo 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 org.tikv.shade.com.google.protobuf.MessageLitegetSerializedSize 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 org.tikv.shade.com.google.protobuf.Messageequals 在类中 org.tikv.shade.com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 org.tikv.shade.com.google.protobuf.MessagehashCode 在类中 org.tikv.shade.com.google.protobuf.AbstractMessagepublic static SampleCollector parseFrom(ByteBuffer data) throws org.tikv.shade.com.google.protobuf.InvalidProtocolBufferException
org.tikv.shade.com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(ByteBuffer data, org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.tikv.shade.com.google.protobuf.InvalidProtocolBufferException
org.tikv.shade.com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(org.tikv.shade.com.google.protobuf.ByteString data) throws org.tikv.shade.com.google.protobuf.InvalidProtocolBufferException
org.tikv.shade.com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(org.tikv.shade.com.google.protobuf.ByteString data, org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.tikv.shade.com.google.protobuf.InvalidProtocolBufferException
org.tikv.shade.com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(byte[] data) throws org.tikv.shade.com.google.protobuf.InvalidProtocolBufferException
org.tikv.shade.com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(byte[] data, org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.tikv.shade.com.google.protobuf.InvalidProtocolBufferException
org.tikv.shade.com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(InputStream input) throws IOException
IOExceptionpublic static SampleCollector parseFrom(InputStream input, org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SampleCollector parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SampleCollector parseDelimitedFrom(InputStream input, org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SampleCollector parseFrom(org.tikv.shade.com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SampleCollector parseFrom(org.tikv.shade.com.google.protobuf.CodedInputStream input, org.tikv.shade.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SampleCollector.Builder newBuilderForType()
newBuilderForType 在接口中 org.tikv.shade.com.google.protobuf.MessagenewBuilderForType 在接口中 org.tikv.shade.com.google.protobuf.MessageLitepublic static SampleCollector.Builder newBuilder()
public static SampleCollector.Builder newBuilder(SampleCollector prototype)
public SampleCollector.Builder toBuilder()
toBuilder 在接口中 org.tikv.shade.com.google.protobuf.MessagetoBuilder 在接口中 org.tikv.shade.com.google.protobuf.MessageLiteprotected SampleCollector.Builder newBuilderForType(org.tikv.shade.com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3public static SampleCollector getDefaultInstance()
public static org.tikv.shade.com.google.protobuf.Parser<SampleCollector> parser()
public org.tikv.shade.com.google.protobuf.Parser<SampleCollector> getParserForType()
getParserForType 在接口中 org.tikv.shade.com.google.protobuf.MessagegetParserForType 在接口中 org.tikv.shade.com.google.protobuf.MessageLitegetParserForType 在类中 org.tikv.shade.com.google.protobuf.GeneratedMessageV3public SampleCollector getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 org.tikv.shade.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 org.tikv.shade.com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.