Packages

c

org.apache.spark.connect.proto

StatApproxQuantile

final class StatApproxQuantile extends GeneratedMessageV3 with StatApproxQuantileOrBuilder

Calculates the approximate quantiles of numerical columns of a DataFrame.
It will invoke 'Dataset.stat.approxQuantile' (same as 'StatFunctions.approxQuantile')
to compute the results.

Protobuf type spark.connect.StatApproxQuantile

Linear Supertypes
StatApproxQuantileOrBuilder, GeneratedMessageV3, Serializable, AbstractMessage, Message, MessageOrBuilder, AbstractMessageLite[MessageType, BuilderType], MessageLite, MessageLiteOrBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatApproxQuantile
  2. StatApproxQuantileOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    StatApproxQuantile → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getCols(index: Int): String

    (Required) The names of the numerical columns.
    

    (Required) The names of the numerical columns.
    

    repeated string cols = 2;

    index

    The index of the element to return.

    returns

    The cols at the given index.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
  13. def getColsBytes(index: Int): ByteString

    (Required) The names of the numerical columns.
    

    (Required) The names of the numerical columns.
    

    repeated string cols = 2;

    index

    The index of the value to return.

    returns

    The bytes of the cols at the given index.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
  14. def getColsCount(): Int

    (Required) The names of the numerical columns.
    

    (Required) The names of the numerical columns.
    

    repeated string cols = 2;

    returns

    The count of cols.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
  15. def getColsList(): ProtocolStringList

    (Required) The names of the numerical columns.
    

    (Required) The names of the numerical columns.
    

    repeated string cols = 2;

    returns

    A list containing the cols.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
  16. def getDefaultInstanceForType(): StatApproxQuantile
    Definition Classes
    StatApproxQuantile → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  17. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  18. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  19. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  20. def getInput(): Relation

    (Required) The input relation.
    

    (Required) The input relation.
    

    .spark.connect.Relation input = 1;

    returns

    The input.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
    Annotations
    @Override()
  21. def getInputOrBuilder(): RelationOrBuilder

    (Required) The input relation.
    

    (Required) The input relation.
    

    .spark.connect.Relation input = 1;

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
    Annotations
    @Override()
  22. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  23. def getParserForType(): Parser[StatApproxQuantile]
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  24. def getProbabilities(index: Int): Double

    (Required) A list of quantile probabilities.
    
    Each number must belong to [0, 1].
    For example 0 is the minimum, 0.5 is the median, 1 is the maximum.
    

    (Required) A list of quantile probabilities.
    
    Each number must belong to [0, 1].
    For example 0 is the minimum, 0.5 is the median, 1 is the maximum.
    

    repeated double probabilities = 3;

    index

    The index of the element to return.

    returns

    The probabilities at the given index.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
  25. def getProbabilitiesCount(): Int

    (Required) A list of quantile probabilities.
    
    Each number must belong to [0, 1].
    For example 0 is the minimum, 0.5 is the median, 1 is the maximum.
    

    (Required) A list of quantile probabilities.
    
    Each number must belong to [0, 1].
    For example 0 is the minimum, 0.5 is the median, 1 is the maximum.
    

    repeated double probabilities = 3;

    returns

    The count of probabilities.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
  26. def getProbabilitiesList(): List[Double]

    (Required) A list of quantile probabilities.
    
    Each number must belong to [0, 1].
    For example 0 is the minimum, 0.5 is the median, 1 is the maximum.
    

    (Required) A list of quantile probabilities.
    
    Each number must belong to [0, 1].
    For example 0 is the minimum, 0.5 is the median, 1 is the maximum.
    

    repeated double probabilities = 3;

    returns

    A list containing the probabilities.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
    Annotations
    @Override()
  27. def getRelativeError(): Double

    (Required) The relative target precision to achieve (greater than or equal to 0).
    
    If set to zero, the exact quantiles are computed, which could be very expensive.
    Note that values greater than 1 are accepted but give the same result as 1.
    

    (Required) The relative target precision to achieve (greater than or equal to 0).
    
    If set to zero, the exact quantiles are computed, which could be very expensive.
    Note that values greater than 1 are accepted but give the same result as 1.
    

    double relative_error = 4;

    returns

    The relativeError.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
    Annotations
    @Override()
  28. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  29. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  30. def getSerializedSize(): Int
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  31. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  32. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  33. def hasInput(): Boolean

    (Required) The input relation.
    

    (Required) The input relation.
    

    .spark.connect.Relation input = 1;

    returns

    Whether the input field is set.

    Definition Classes
    StatApproxQuantileStatApproxQuantileOrBuilder
    Annotations
    @Override()
  34. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  35. def hashCode(): Int
    Definition Classes
    StatApproxQuantile → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  36. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[proto]
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3
    Annotations
    @Override()
  37. def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  38. final def isInitialized(): Boolean
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[proto]
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3
    Annotations
    @Override()
  43. def newBuilderForType(): Builder
    Definition Classes
    StatApproxQuantile → Message → MessageLite
    Annotations
    @Override()
  44. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  45. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[proto]
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  49. def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  50. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  51. def toBuilder(): Builder
    Definition Classes
    StatApproxQuantile → Message → MessageLite
    Annotations
    @Override()
  52. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  53. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  54. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  58. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  59. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  60. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    StatApproxQuantile → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  61. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped