Class RecordLineage
java.lang.Object
com.northconcepts.datapipeline.lineage.RecordLineage
Convenience wrapper to read and write record-level data lineage properties.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe SQL statement used to query the database.static final StringThe JDBC connection URL.static final StringThejava.io.Fileused to create the DataReader.static final StringThe beginning column number in the input file starting with 0.static final StringThe line number in the input file starting with 0.static final StringThe sequential record number starting with 0.static final StringThe schema for ORC and Parquet files. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe SQL statement used to query the database.The JDBC connection URL.getFile()Thejava.io.Fileused to create the DataReader.Returns the column number in the input file starting with 0.The line number in the input file starting with 0.The beginning column number in the input file starting with 0.The schema for ORC and Parquet files.setDatabaseQuery(String queryString) The SQL statement used to query the database.setDatabaseUrl(String url) The JDBC connection URL.Thejava.io.Fileused to create the DataReader.setFileColumnNumber(Long columnNumber) The beginning column number in the input file starting with 0.setFileLineNumber(Long lineNumber) The line number in the input file starting with 0.setRecordNumber(long recordNumber) Sets the sequential record number starting with 0.setRecordSchema(String recordSchema) The schema for ORC and Parquet files.
-
Field Details
-
FILE
Thejava.io.Fileused to create the DataReader.- See Also:
-
FILE_LINE_NUMBER
The line number in the input file starting with 0.- See Also:
-
FILE_COLUMN_NUMBER
The beginning column number in the input file starting with 0.- See Also:
-
RECORD_NUMBER
The sequential record number starting with 0.- See Also:
-
DATABASE_URL
The JDBC connection URL.- See Also:
-
DATABASE_QUERY
The SQL statement used to query the database.- See Also:
-
RECORD_SCHEMA
The schema for ORC and Parquet files.- See Also:
-
-
Constructor Details
-
RecordLineage
public RecordLineage() -
RecordLineage
-
-
Method Details
-
getRecord
-
setRecord
-
getFile
Thejava.io.Fileused to create the DataReader. -
setFile
Thejava.io.Fileused to create the DataReader. -
getFileLineNumber
The line number in the input file starting with 0. -
setFileLineNumber
The line number in the input file starting with 0. -
getFileColumnNumber
Returns the column number in the input file starting with 0. -
setFileColumnNumber
The beginning column number in the input file starting with 0. -
getRecordNumber
The beginning column number in the input file starting with 0. -
setRecordNumber
Sets the sequential record number starting with 0. -
getDatabaseUrl
The JDBC connection URL. -
setDatabaseUrl
The JDBC connection URL. -
getDatabaseQuery
The SQL statement used to query the database. -
setDatabaseQuery
The SQL statement used to query the database. -
getRecordSchema
The schema for ORC and Parquet files. -
setRecordSchema
The schema for ORC and Parquet files.
-