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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public List<com.google.protobuf.ByteString> getSamplesList()
repeated bytes samples = 1;
getSamplesList
in interface SampleCollectorOrBuilder
public int getSamplesCount()
repeated bytes samples = 1;
getSamplesCount
in interface SampleCollectorOrBuilder
public com.google.protobuf.ByteString getSamples(int index)
repeated bytes samples = 1;
getSamples
in interface SampleCollectorOrBuilder
index
- The index of the element to return.public boolean hasNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false];
hasNullCount
in interface SampleCollectorOrBuilder
public long getNullCount()
optional int64 null_count = 2 [(.gogoproto.nullable) = false];
getNullCount
in interface SampleCollectorOrBuilder
public boolean hasCount()
optional int64 count = 3 [(.gogoproto.nullable) = false];
hasCount
in interface SampleCollectorOrBuilder
public long getCount()
optional int64 count = 3 [(.gogoproto.nullable) = false];
getCount
in interface SampleCollectorOrBuilder
public boolean hasFmSketch()
optional .tipb.FMSketch fm_sketch = 4;
hasFmSketch
in interface SampleCollectorOrBuilder
public FMSketch getFmSketch()
optional .tipb.FMSketch fm_sketch = 4;
getFmSketch
in interface SampleCollectorOrBuilder
public FMSketchOrBuilder getFmSketchOrBuilder()
optional .tipb.FMSketch fm_sketch = 4;
getFmSketchOrBuilder
in interface SampleCollectorOrBuilder
public boolean hasCmSketch()
optional .tipb.CMSketch cm_sketch = 5;
hasCmSketch
in interface SampleCollectorOrBuilder
public CMSketch getCmSketch()
optional .tipb.CMSketch cm_sketch = 5;
getCmSketch
in interface SampleCollectorOrBuilder
public CMSketchOrBuilder getCmSketchOrBuilder()
optional .tipb.CMSketch cm_sketch = 5;
getCmSketchOrBuilder
in interface SampleCollectorOrBuilder
public boolean hasTotalSize()
optional int64 total_size = 6;
hasTotalSize
in interface SampleCollectorOrBuilder
public long getTotalSize()
optional int64 total_size = 6;
getTotalSize
in interface SampleCollectorOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static SampleCollector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SampleCollector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SampleCollector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SampleCollector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SampleCollector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SampleCollector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static SampleCollector parseFrom(InputStream input) throws IOException
IOException
public static SampleCollector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SampleCollector parseDelimitedFrom(InputStream input) throws IOException
IOException
public static SampleCollector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static SampleCollector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static SampleCollector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public SampleCollector.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static SampleCollector.Builder newBuilder()
public static SampleCollector.Builder newBuilder(SampleCollector prototype)
public SampleCollector.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected SampleCollector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static SampleCollector getDefaultInstance()
public static com.google.protobuf.Parser<SampleCollector> parser()
public com.google.protobuf.Parser<SampleCollector> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public SampleCollector getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.