org.sparklinedata.druid.metadata

FunctionalDependencies

case class FunctionalDependencies(dDS: DruidDataSource, fds: List[FunctionalDependency], depGraph: DependencyGraph) extends Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FunctionalDependencies
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FunctionalDependencies(dDS: DruidDataSource, fds: List[FunctionalDependency], depGraph: DependencyGraph)

Type Members

  1. class Component extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val dDS: DruidDataSource

  9. val depGraph: DependencyGraph

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

    Definition Classes
    AnyRef
  11. def estimateCardinality(dimNames: List[String]): Long

    Order the dimensions based on the number of relations they have.

    Order the dimensions based on the number of relations they have. The ones with the most relations are the base of Dimensional components. For e.g. in a Star Schema with dimensions (Product, Customer) if p_name is the key for Product, it will be related to all other product attributes. A query about p_name and other Product fields will be bounded by the cardinality of p_name for the Product dimension. So for a query that has a Group By on p_name, p_brand, p_mfr the cardinality estimate of the result set is the cardinality of p_name.

    Todo: for a query on p_brand, p_mfr bound the cardinality by the cardinality of p_name. I thik this requires the user to specify the key column of a dimension.

    dimNames
    returns

  12. val fds: List[FunctionalDependency]

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

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

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

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped