KnownSizeEstimation

KnownSizeEstimation is the contract that allows a class to give SizeEstimator a more accurate size estimation.

KnownSizeEstimation defines the single estimatedSize method.

package org.apache.spark.util

trait KnownSizeEstimation {
  def estimatedSize: Long
}

estimatedSize is used when:

Note
KnownSizeEstimation is a private[spark] contract.
Note
HashedRelation is the only KnownSizeEstimation available.

results matching ""

    No results matching ""