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
- Alphabetic
- By Inheritance
- StatApproxQuantile
- StatApproxQuantileOrBuilder
- GeneratedMessageV3
- Serializable
- AbstractMessage
- Message
- MessageOrBuilder
- AbstractMessageLite
- MessageLite
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- StatApproxQuantile → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findInitializationErrors(): List[String]
- Definition Classes
- AbstractMessage → MessageOrBuilder
-
def
getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
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
-
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
-
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
-
def
getDefaultInstanceForType(): StatApproxQuantile
- Definition Classes
- StatApproxQuantile → MessageOrBuilder → MessageLiteOrBuilder
- Annotations
- @Override()
-
def
getDescriptorForType(): Descriptor
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
def
getField(field: FieldDescriptor): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
def
getInitializationErrorString(): String
- Definition Classes
- AbstractMessage → MessageOrBuilder
-
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()
-
def
getInputOrBuilder(): RelationOrBuilder
(Required) The input relation.
(Required) The input relation.
.spark.connect.Relation input = 1;- Definition Classes
- StatApproxQuantile → StatApproxQuantileOrBuilder
- Annotations
- @Override()
-
def
getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
-
def
getParserForType(): Parser[StatApproxQuantile]
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3 → Message → MessageLite
- Annotations
- @Override()
-
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
-
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
-
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()
-
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()
-
def
getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
def
getRepeatedFieldCount(field: FieldDescriptor): Int
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
def
getSerializedSize(): Int
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
-
def
getUnknownFields(): UnknownFieldSet
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
def
hasField(field: FieldDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → MessageOrBuilder
-
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()
-
def
hasOneof(oneof: OneofDescriptor): Boolean
- Definition Classes
- GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
-
def
hashCode(): Int
- Definition Classes
- StatApproxQuantile → AbstractMessage → Message → AnyRef → Any
- Annotations
- @Override()
-
def
internalGetFieldAccessorTable(): FieldAccessorTable
- Attributes
- protected[proto]
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3
- Annotations
- @Override()
-
def
internalGetMapField(fieldNumber: Int): MapField[_, _]
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
-
final
def
isInitialized(): Boolean
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
- Annotations
- @Override()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
makeExtensionsImmutable(): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[proto]
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3
- Annotations
- @Override()
-
def
newBuilderForType(): Builder
- Definition Classes
- StatApproxQuantile → Message → MessageLite
- Annotations
- @Override()
-
def
newBuilderForType(parent: BuilderParent): Builder
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3 → AbstractMessage
-
def
newInstance(unused: UnusedPrivateParameter): AnyRef
- Attributes
- protected[proto]
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3
- Annotations
- @Override() @SuppressWarnings()
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parseUnknownField(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
parseUnknownFieldProto3(input: CodedInputStream, unknownFields: Builder, extensionRegistry: ExtensionRegistryLite, tag: Int): Boolean
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws( classOf[java.io.IOException] )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBuilder(): Builder
- Definition Classes
- StatApproxQuantile → Message → MessageLite
- Annotations
- @Override()
-
def
toByteArray(): Array[Byte]
- Definition Classes
- AbstractMessageLite → MessageLite
-
def
toByteString(): ByteString
- Definition Classes
- AbstractMessageLite → MessageLite
-
final
def
toString(): String
- Definition Classes
- AbstractMessage → Message → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
writeReplace(): AnyRef
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws( ... )
-
def
writeTo(output: CodedOutputStream): Unit
- Definition Classes
- StatApproxQuantile → GeneratedMessageV3 → AbstractMessage → MessageLite
- Annotations
- @Override()
-
def
writeTo(output: OutputStream): Unit
- Definition Classes
- AbstractMessageLite → MessageLite
- Annotations
- @throws( classOf[java.io.IOException] )
Deprecated Value Members
-
def
mergeFromAndMakeImmutableInternal(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Unit
- Attributes
- protected[protobuf]
- Definition Classes
- GeneratedMessageV3
- Annotations
- @throws( ... ) @Deprecated
- Deprecated