org.checkita.dqf.storage.Serialization
ResultsSerializationOps
Companion object ResultsSerializationOps
implicit class ResultsSerializationOps[T <: DQEntity] extends AnyRef
Implicit conversion for results to enable their unified serialization.
- Alphabetic
- By Inheritance
- ResultsSerializationOps
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultsSerializationOps(value: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], settings: AppSettings)
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( ... ) @native()
-
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
getFieldsMap: Map[String, String]
Gets flattened map of field name to string representation of field values.
Gets flattened map of field name to string representation of field values.
- returns
Map fieldName -> fieldValue as string
-
def
getTsvHeader: String
Getter to retrieve TSV header (conforms to flattened tsv string)
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toJson: String
Serialize result entity into unified JSON string.
Serialize result entity into unified JSON string.
- returns
JSON string with result data
-
def
toRow: Row
Serialize result entity into unified Spark Row that match unified schema.
Serialize result entity into unified Spark Row that match unified schema.
- returns
Spark Row with result data
- Note
Data field contains Json string with data specific to given result entity.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
toTsvString: String
Serialize result entity into tab-separated string retaining order in which fields were defined.
Serialize result entity into tab-separated string retaining order in which fields were defined.
- returns
Tab-separated strung with result data
- Note
This string has a flat structure and does not conform to unified schema. Used to generate attachments for notifications. Thus, tsv format with flat structure is more appropriated for visual inspection.
-
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()