Skip to content

DataFrameStatFunctions

DataFrameStatFunctions API gives the statistic functions to be used in a structured query.

DataFrameStatFunctions is available using stat untyped transformation.

val q: DataFrame = ...
q.stat

bloomFilter

bloomFilter(
  colName: String,
  expectedNumItems: Long,
  fpp: Double): BloomFilter
bloomFilter(
  col: Column,
  expectedNumItems: Long,
  fpp: Double): BloomFilter
bloomFilter(
  colName: String,
  expectedNumItems: Long,
  numBits: Long): BloomFilter
bloomFilter(
  col: Column,
  expectedNumItems: Long,
  numBits: Long): BloomFilter

bloomFilter builds a BloomFilter.

Building BloomFilter

buildBloomFilter(
  col: Column, expectedNumItems: Long,
  numBits: Long,
  fpp: Double): BloomFilter

buildBloomFilter...FIXME