Packages

object MakeSchema

The MakeSchema object attempts to infers the domain of a relation without a domain specification and creates a new relation with the inferred domains by examining the data. Should be checked and overridden when inaccurate.

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

Value Members

  1. def analyzeType(c: VectorS, samplePercent: Int = 100, mapString: Boolean = false): (Vec, String)

    Analyze the type of a given VectorS by using regular expression matching.

    Analyze the type of a given VectorS by using regular expression matching. Types can be Integer (I), Long (L), Double (D), etc.

    c

    the VectorS to have its type analyzed

    samplePercent

    the percentage of 'c' used to analyze the type of 'c'

    mapString

    flag used to map each distinct string in 'c' to a distinct integer

  2. def apply(r: Relation): Relation

    Infer the domains of a domain-less relation and create a new relation with the inferred domains (e.g., 'IIDIS').

    Infer the domains of a domain-less relation and create a new relation with the inferred domains (e.g., 'IIDIS').

    r

    the relation to have its domain inferred

  3. def mm_analyzeType(c: VectorS, samplePercent: Int = 100, mapString: Boolean = false): (Vec, String)

    Analyze the type of a given memory mapped VectorS by using regular expression matching.

    Analyze the type of a given memory mapped VectorS by using regular expression matching. Types can be Integer (I), Long (L), Double (D), etc.

    c

    the VectorS to have its type analyzed

    samplePercent

    the percentage of 'c' used to analyze the type of 'c'

    mapString

    flag used to map each distinct string in 'c' to a distinct integer