final case class PrimaryKeyFeatures(maxCount: Double, hasPrefixOrSuffix: Boolean, depth: Int, idType: Boolean, maxLength: Int) extends Product with Serializable
A set of features used to score primary key candidates.
- maxCount
the maximum cardinality of values at this path
- hasPrefixOrSuffix
whether the path has a prefix or suffix common to primary keys
- depth
the depth of the primary key in the JSON document
- idType
the type of the primary key
- maxLength
the maximum length of all prinary key values
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PrimaryKeyFeatures
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new PrimaryKeyFeatures(maxCount: Double, hasPrefixOrSuffix: Boolean, depth: Int, idType: Boolean, maxLength: Int)
Create a new set of primary key features.
Create a new set of primary key features.
- maxCount
the maximum cardinality of values at this path
- hasPrefixOrSuffix
whether the path has a prefix or suffix common to primary keys
- depth
the depth of the primary key in the JSON document
- idType
the type of the primary key
- maxLength
the maximum length of all prinary key values
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val depth: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hasPrefixOrSuffix: Boolean
- val idType: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxCount: Double
- val maxLength: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def score: Double
A score for ranking candidate primary keys.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()