Packages

final class Sample extends GeneratedMessageV3 with SampleOrBuilder

Relation of type [[Sample]] that samples a fraction of the dataset.

Protobuf type spark.connect.Sample

Linear Supertypes
SampleOrBuilder, GeneratedMessageV3, Serializable, AbstractMessage, Message, MessageOrBuilder, AbstractMessageLite[MessageType, BuilderType], MessageLite, MessageLiteOrBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Sample
  2. SampleOrBuilder
  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
    Sample → 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 getDefaultInstanceForType(): Sample
    Definition Classes
    Sample → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  13. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  14. def getDeterministicOrder(): Boolean

    (Required) Explicitly sort the underlying plan to make the ordering deterministic or cache it.
    This flag is true when invoking `dataframe.randomSplit` to randomly splits DataFrame with the
    provided weights. Otherwise, it is false.
    

    (Required) Explicitly sort the underlying plan to make the ordering deterministic or cache it.
    This flag is true when invoking `dataframe.randomSplit` to randomly splits DataFrame with the
    provided weights. Otherwise, it is false.
    

    bool deterministic_order = 6;

    returns

    The deterministicOrder.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  15. def getField(field: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  16. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  17. def getInput(): Relation

    (Required) Input relation for a Sample.
    

    (Required) Input relation for a Sample.
    

    .spark.connect.Relation input = 1;

    returns

    The input.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  18. def getInputOrBuilder(): RelationOrBuilder

    (Required) Input relation for a Sample.
    

    (Required) Input relation for a Sample.
    

    .spark.connect.Relation input = 1;

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  19. def getLowerBound(): Double

    (Required) lower bound.
    

    (Required) lower bound.
    

    double lower_bound = 2;

    returns

    The lowerBound.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  20. def getOneofFieldDescriptor(oneof: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  21. def getParserForType(): Parser[Sample]
    Definition Classes
    Sample → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  22. def getRepeatedField(field: FieldDescriptor, index: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  23. def getRepeatedFieldCount(field: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  24. def getSeed(): Long

    (Optional) The random seed.
    

    (Optional) The random seed.
    

    optional int64 seed = 5;

    returns

    The seed.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  25. def getSerializedSize(): Int
    Definition Classes
    Sample → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  26. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  27. def getUpperBound(): Double

    (Required) upper bound.
    

    (Required) upper bound.
    

    double upper_bound = 3;

    returns

    The upperBound.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  28. def getWithReplacement(): Boolean

    (Optional) Whether to sample with replacement.
    

    (Optional) Whether to sample with replacement.
    

    optional bool with_replacement = 4;

    returns

    The withReplacement.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  29. def hasField(field: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  30. def hasInput(): Boolean

    (Required) Input relation for a Sample.
    

    (Required) Input relation for a Sample.
    

    .spark.connect.Relation input = 1;

    returns

    Whether the input field is set.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  31. def hasOneof(oneof: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  32. def hasSeed(): Boolean

    (Optional) The random seed.
    

    (Optional) The random seed.
    

    optional int64 seed = 5;

    returns

    Whether the seed field is set.

    Definition Classes
    SampleSampleOrBuilder
    Annotations
    @Override()
  33. def hasWithReplacement(): Boolean

    (Optional) Whether to sample with replacement.
    

    (Optional) Whether to sample with replacement.
    

    optional bool with_replacement = 4;

    returns

    Whether the withReplacement field is set.

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

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