Package io.openlineage.spark.agent.util
Class RemovePathPatternUtils
java.lang.Object
io.openlineage.spark.agent.util.RemovePathPatternUtils
Utility class to handle removing path patterns in dataset names. Given a configured regex pattern
with "remove" group defined, class methods run regex replacements on all the datasets available
within the event
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<io.openlineage.client.OpenLineage.InputDataset>removeInputsPathPattern(io.openlineage.spark.api.OpenLineageContext context, List<io.openlineage.client.OpenLineage.InputDataset> inputs) static List<io.openlineage.client.OpenLineage.OutputDataset>removeOutputsPathPattern(io.openlineage.spark.api.OpenLineageContext context, List<io.openlineage.client.OpenLineage.OutputDataset> outputs) static List<io.openlineage.client.OpenLineage.OutputDataset>removeOutputsPathPattern_ol(io.openlineage.spark.api.OpenLineageContext context, List<io.openlineage.client.OpenLineage.OutputDataset> outputs)
-
Field Details
-
REMOVE_PATTERN_GROUP
- See Also:
-
SPARK_OPENLINEAGE_DATASET_REMOVE_PATH_PATTERN
- See Also:
-
-
Constructor Details
-
RemovePathPatternUtils
public RemovePathPatternUtils()
-
-
Method Details
-
removeOutputsPathPattern_ol
-
removeOutputsPathPattern
-
removeInputsPathPattern
-