Package

com.spotify.ratatool

samplers

Permalink

package samplers

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. samplers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ParquetSampler extends Sampler[GenericRecord]

    Permalink

    Sampler for Parquet files.

    Sampler for Parquet files.

    Records are represented as Avro GenericRecord. Only head mode is supported.

Value Members

  1. def sampleAvro[T <: GenericRecord](coll: SCollection[T], fraction: Double, schema: ⇒ Schema, fields: Seq[String], seed: Option[Int], distribution: Option[SampleDistribution], distributionFields: Seq[String], precision: Precision, maxKeySize: Int, byteEncoding: ByteEncoding)(implicit arg0: ClassTag[T], arg1: Coder[T]): SCollection[T]

    Permalink
  2. def sampleProto[T <: AbstractMessage](coll: SCollection[T], fraction: Double, fields: Seq[String], seed: Option[Int], distribution: Option[SampleDistribution], distributionFields: Seq[String], precision: Precision, maxKeySize: Int, byteEncoding: ByteEncoding)(implicit arg0: ClassTag[T]): SCollection[T]

    Permalink
  3. def sampleTableRow(coll: SCollection[TableRow], fraction: Double, schema: TableSchema, fields: Seq[String], seed: Option[Int], distribution: Option[SampleDistribution], distributionFields: Seq[String], precision: Precision, maxKeySize: Int, byteEncoding: ByteEncoding): SCollection[TableRow]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped