|Constructor and Description|
|Modifier and Type||Method and Description|
Get the set of fields written to the EndPoint by field lineage
public Set<Field> getFields(EndPoint endPoint, long start, long end, @Nullable String prefix, boolean includeCurrent) throws IOException
WriteOperation, over the given time range, optionally filtered to include only fields that have the given prefix. Additionally, can include fields from the dataset schema if those field are not present in lineage information for complete and coherent information about fields.
endPoint- the EndPoint for which the fields need to be returned
start- start time (inclusive) in milliseconds
end- end time (exclusive) in milliseconds
prefix- prefix for the field name, if
nullthen all fields are returned
includeCurrent- determines whether to include dataset's current schema fields in the response. If true the result will be a union of all the fields present in lineage record with
Field.hasLineage()set to 'true' and fields present only in dataset schema will have
Field.hasLineage()set to 'false'.
Copyright © 2018 Cask Data, Inc.. All rights reserved.