public final class SampleCollector extends 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| Modifier and Type | Class and Description |
|---|---|
static class |
SampleCollector.Builder
SampleCollector is used for collect samples and calculate the count and ndv of an column.
|
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 |
CM_SKETCH_FIELD_NUMBER |
static int |
COUNT_FIELD_NUMBER |
static int |
FM_SKETCH_FIELD_NUMBER |
static int |
NULL_COUNT_FIELD_NUMBER |
static com.google.protobuf.Parser<SampleCollector> |
PARSER
Deprecated.
|
static int |
SAMPLES_FIELD_NUMBER |
static int |
TOTAL_SIZE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
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 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]; |
com.google.protobuf.Parser<SampleCollector> |
getParserForType() |
com.google.protobuf.ByteString |
getSamples(int index)
repeated bytes samples = 1; |
int |
getSamplesCount()
repeated bytes samples = 1; |
List<com.google.protobuf.ByteString> |
getSamplesList()
repeated bytes samples = 1; |
int |
getSerializedSize() |
long |
getTotalSize()
optional int64 total_size = 6; |
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 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(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SampleCollector |
parseDelimitedFrom(InputStream input) |
static SampleCollector |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(byte[] data) |
static SampleCollector |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(ByteBuffer data) |
static SampleCollector |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(com.google.protobuf.ByteString data) |
static SampleCollector |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SampleCollector |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SampleCollector |
parseFrom(InputStream input) |
static SampleCollector |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SampleCollector> |
parser() |
SampleCollector.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, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, 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 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 com.google.protobuf.Parser<SampleCollector> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 List<com.google.protobuf.ByteString> getSamplesList()
repeated bytes samples = 1;getSamplesList in interface SampleCollectorOrBuilderpublic int getSamplesCount()
repeated bytes samples = 1;getSamplesCount in interface SampleCollectorOrBuilderpublic com.google.protobuf.ByteString getSamples(int index)
repeated bytes samples = 1;getSamples in interface SampleCollectorOrBuilderindex - The index of the element to return.public boolean hasNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false];hasNullCount in interface SampleCollectorOrBuilderpublic long getNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false];getNullCount in interface SampleCollectorOrBuilderpublic boolean hasCount()
optional int64 count = 3 [(.gogoproto.nullable) = false];hasCount in interface SampleCollectorOrBuilderpublic long getCount()
optional int64 count = 3 [(.gogoproto.nullable) = false];getCount in interface SampleCollectorOrBuilderpublic boolean hasFmSketch()
optional .tipb.FMSketch fm_sketch = 4;hasFmSketch in interface SampleCollectorOrBuilderpublic FMSketch getFmSketch()
optional .tipb.FMSketch fm_sketch = 4;getFmSketch in interface SampleCollectorOrBuilderpublic FMSketchOrBuilder getFmSketchOrBuilder()
optional .tipb.FMSketch fm_sketch = 4;getFmSketchOrBuilder in interface SampleCollectorOrBuilderpublic boolean hasCmSketch()
optional .tipb.CMSketch cm_sketch = 5;hasCmSketch in interface SampleCollectorOrBuilderpublic CMSketch getCmSketch()
optional .tipb.CMSketch cm_sketch = 5;getCmSketch in interface SampleCollectorOrBuilderpublic CMSketchOrBuilder getCmSketchOrBuilder()
optional .tipb.CMSketch cm_sketch = 5;getCmSketchOrBuilder in interface SampleCollectorOrBuilderpublic boolean hasTotalSize()
optional int64 total_size = 6;hasTotalSize in interface SampleCollectorOrBuilderpublic long getTotalSize()
optional int64 total_size = 6;getTotalSize in interface SampleCollectorOrBuilderpublic 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 SampleCollector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SampleCollector parseFrom(InputStream input) throws IOException
IOExceptionpublic static SampleCollector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SampleCollector parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SampleCollector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SampleCollector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SampleCollector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SampleCollector.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SampleCollector.Builder newBuilder()
public static SampleCollector.Builder newBuilder(SampleCollector prototype)
public SampleCollector.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SampleCollector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SampleCollector getDefaultInstance()
public static com.google.protobuf.Parser<SampleCollector> parser()
public com.google.protobuf.Parser<SampleCollector> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SampleCollector getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.