Object

org.apache.spark.sql.catalyst.plans.logical.statsEstimation

EstimationUtils

Related Doc: package statsEstimation

Permalink

object EstimationUtils

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ceil(bigDecimal: BigDecimal): BigInt

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def columnStatsExist(statsAndAttr: (Statistics, Attribute)*): Boolean

    Permalink

    Check if each attribute has column stat in the corresponding statistics.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromDecimal(dec: Decimal, dataType: DataType): Any

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getOutputMap(inputMap: AttributeMap[ColumnStat], output: Seq[Attribute]): AttributeMap[ColumnStat]

    Permalink

    Get column stats for output attributes.

  14. def getOutputSize(attributes: Seq[Attribute], outputRowCount: BigInt, attrStats: AttributeMap[ColumnStat] = AttributeMap(Nil)): BigInt

    Permalink
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def nullColumnStat(dataType: DataType, rowCount: BigInt): ColumnStat

    Permalink
  21. def rowCountsExist(conf: SQLConf, plans: LogicalPlan*): Boolean

    Permalink

    Check if each plan has rowCount in its statistics.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toDecimal(value: Any, dataType: DataType): Decimal

    Permalink

    For simplicity we use Decimal to unify operations for data types whose min/max values can be represented as numbers, e.g.

    For simplicity we use Decimal to unify operations for data types whose min/max values can be represented as numbers, e.g. Boolean can be represented as 0 (false) or 1 (true). The two methods below are the contract of conversion.

  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def updateNdv(oldNumRows: BigInt, newNumRows: BigInt, oldNdv: BigInt): BigInt

    Permalink

    Updates (scales down) the number of distinct values if the number of rows decreases after some operation (such as filter, join).

    Updates (scales down) the number of distinct values if the number of rows decreases after some operation (such as filter, join). Otherwise keep it unchanged.

  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped