abstract class DataFile extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DataFile
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DataFile(name: String, columns: Seq[ColumnBase])
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
-
def
_sqlColumnValidationCode(columns: Seq[ColumnBase]): String
List of the sqlValidationCode of columns, as array elements.
-
def
_sqlRecordValidationCode(recordValidator: Seq[RecordValidator]): String
List of the sqlValidationCode of individual column validator, as array elements.
- def addRecordValidator(validator: RecordValidator): Seq[RecordValidator]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val columns: Seq[ColumnBase]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
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()
- val schema: StructType
-
def
sqlValidationCode(): String
Generate SQL code for constructing the array of validation result struct by: 1.
Generate SQL code for constructing the array of validation result struct by: 1. Call column validators 2. Call record validators
- returns
Array of validation result struct
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- DataFile → AnyRef → Any
-
def
validate(dataframe: DataFrame): DataFrame
Add column logic_validation_messages to the input data frame.
Add column logic_validation_messages to the input data frame. Client code then can get the validation result by selecting row with non-empty logic_validation_messages.
- dataframe
The data frame to be validated
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()