Packages

c

org.apache.spark.connect.proto

StatApproxQuantile

final class StatApproxQuantile extends GeneratedMessage 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

Annotations
@Generated()
Linear Supertypes
StatApproxQuantileOrBuilder, GeneratedMessage, Serializable, AbstractMessage, Message, MessageOrBuilder, AbstractMessageLite[MessageType, BuilderType], MessageLite, MessageLiteOrBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatApproxQuantile
  2. StatApproxQuantileOrBuilder
  3. GeneratedMessage
  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]) @IntrinsicCandidate() @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 findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  9. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  11. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
  12. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
  13. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
  14. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
  15. def getDefaultInstanceForType(): StatApproxQuantile
    Definition Classes
    StatApproxQuantile → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  16. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  17. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  18. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  19. def getInput(): Relation

    (Required) The input relation.
    

    (Required) The input relation.
    

    .spark.connect.Relation input = 1;

    returns

    The input.

    Definition Classes
    StatApproxQuantile → StatApproxQuantileOrBuilder
    Annotations
    @Override()
  20. def getInputOrBuilder(): RelationOrBuilder

    (Required) The input relation.
    

    (Required) The input relation.
    

    .spark.connect.Relation input = 1;

    Definition Classes
    StatApproxQuantile → StatApproxQuantileOrBuilder
    Annotations
    @Override()
  21. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessage → AbstractMessage → MessageOrBuilder
  22. def getParserForType(): Parser[StatApproxQuantile]
    Definition Classes
    StatApproxQuantile → GeneratedMessage → Message → MessageLite
    Annotations
    @Override()
  23. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
  24. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
  25. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
    Annotations
    @Override()
  26. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
    Annotations
    @Override()
  27. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  28. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  29. def getSerializedSize(): Int
    Definition Classes
    StatApproxQuantile → GeneratedMessage → AbstractMessage → MessageLite
    Annotations
    @Override()
  30. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  31. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessage → MessageOrBuilder
  32. 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
    StatApproxQuantile → StatApproxQuantileOrBuilder
    Annotations
    @Override()
  33. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessage → AbstractMessage → MessageOrBuilder
  34. def hashCode(): Int
    Definition Classes
    StatApproxQuantile → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  35. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[proto]
    Definition Classes
    StatApproxQuantile → GeneratedMessage
    Annotations
    @Override()
  36. def internalGetMapFieldReflection(fieldNumber: Int): MapFieldReflectionAccessor
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  37. final def isInitialized(): Boolean
    Definition Classes
    StatApproxQuantile → GeneratedMessage → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[proto]
    Definition Classes
    StatApproxQuantile → AbstractMessage
    Annotations
    @Override()
  42. def newBuilderForType(): Builder
    Definition Classes
    StatApproxQuantile → Message → MessageLite
    Annotations
    @Override()
  43. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  46. def parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.IOException])
  47. def parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.IOException])
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def toBuilder(): Builder
    Definition Classes
    StatApproxQuantile → Message → MessageLite
    Annotations
    @Override()
  50. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  51. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  52. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  56. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  57. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  58. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    StatApproxQuantile → GeneratedMessage → AbstractMessage → MessageLite
    Annotations
    @Override()
  59. def writeTo(output: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def internalGetMapField(fieldNumber: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @Deprecated
    Deprecated
  3. def mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessage
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException]) @Deprecated
    Deprecated

Inherited from GeneratedMessage

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