VerityDotNet 1.0
C# library for Verity data profiling, quality control, remediation
Classes | Public Member Functions | Public Attributes | List of all members
VerityDotNet.Transform Class Reference

Transform object for modifying source field values and generating values for added enrichment fields. A transform contains a sequence of operations that may include conditional testing of values and referenced fields. It operates on the field whose name is the title of the transform. This field should always be the output field title which itself can be a source field, a renamed source field, or an added enrichment field. Processing check output field list first and if a match is not found then checks the 'mapto' property of output fields for a match to an original source field title. More...

Classes

class  Op
 Operation (Op) for transforms. Each Op has a title which is the name of the function. It specifies the function and its category along with several possible parameters(Param1, Param2, Param3) that depend on the specific function. More...
 

Public Member Functions

 Transform (string title)
 Constructor requiring title that also creates empty list of Ops.
 
string GetJSON (bool addLf=false, bool addQuote=false)
 Constructs JSON of transform.
 

Public Attributes

string title
 Title of the output field this transform operates on.
 
List< Opops
 Collection of Op objects.
 

Detailed Description

Transform object for modifying source field values and generating values for added enrichment fields. A transform contains a sequence of operations that may include conditional testing of values and referenced fields. It operates on the field whose name is the title of the transform. This field should always be the output field title which itself can be a source field, a renamed source field, or an added enrichment field. Processing check output field list first and if a match is not found then checks the 'mapto' property of output fields for a match to an original source field title.

Constructor & Destructor Documentation

◆ Transform()

VerityDotNet.Transform.Transform ( string title)

Constructor requiring title that also creates empty list of Ops.

Parameters
titletitle of transform which should be field it operates on

Member Function Documentation

◆ GetJSON()

string VerityDotNet.Transform.GetJSON ( bool addLf = false,
bool addQuote = false )

Constructs JSON of transform.

Parameters
addLfbool whether to add Line Feed at end of each entry
addQuotebool whether to enclose keys and values in double quotes
Returns

The documentation for this class was generated from the following file: