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.
- Alphabetic
- By Inheritance
- MakeSchema
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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
-
def
apply(r: MM_Relation): MM_Relation
Infer the domains of a domain-less memory mapped relation and create a new memory mapped relation with the inferred domains (e.g., 'IIDIS').
Infer the domains of a domain-less memory mapped relation and create a new memory mapped relation with the inferred domains (e.g., 'IIDIS').
- r
the memory mapped relation to have its domain inferred
-
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
-
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