@Categories(categories="transform") public class MaskShuffle extends Object implements Directive, Lineage
Fixed length shuffle masking performs obfuscation by using random character substitution method. The data is randomly shuffled in the column.
Executor step = new MaskNumber(lineno, line, "150 Mars Avenue, Marcity, Mares", 2);
| Constructor and Description |
|---|
MaskShuffle() |
| Modifier and Type | Method and Description |
|---|---|
UsageDefinition |
define() |
void |
destroy() |
List<Row> |
execute(List<Row> rows,
ExecutorContext context) |
void |
initialize(Arguments args) |
Mutation |
lineage() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCountMetricsgetOutputSchemapublic static final String NAME
public UsageDefinition define()
public void initialize(Arguments args) throws DirectiveParseException
initialize in interface Executor<List<Row>,List<Row>>DirectiveParseExceptionpublic List<Row> execute(List<Row> rows, ExecutorContext context) throws DirectiveExecutionException
Copyright © 2024 CDAP Licensed under the Apache License, Version 2.0.