Interface AggSpec.AggSpecApproximatePercentileOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AggSpec.AggSpecApproximatePercentile, AggSpec.AggSpecApproximatePercentile.Builder
Enclosing class:
AggSpec

public static interface AggSpec.AggSpecApproximatePercentileOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    T-Digest compression factor.
    double
    Percentile.
    boolean
    T-Digest compression factor.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPercentile

      double getPercentile()
       Percentile. Must be in range [0.0, 1.0].
       
      double percentile = 1;
      Returns:
      The percentile.
    • hasCompression

      boolean hasCompression()
       T-Digest compression factor. Must be greater than or equal to 1. 1000 is extremely large.
       When not specified, the server will choose a compression value.
       
      optional double compression = 2;
      Returns:
      Whether the compression field is set.
    • getCompression

      double getCompression()
       T-Digest compression factor. Must be greater than or equal to 1. 1000 is extremely large.
       When not specified, the server will choose a compression value.
       
      optional double compression = 2;
      Returns:
      The compression.