public abstract class AbstractAnonymization extends Object implements IAnonymization
IAnonymization.MappingFileUsage
Constructor and Description |
---|
AbstractAnonymization() |
Modifier and Type | Method and Description |
---|---|
protected void |
addMapping(String before,
String after)
Add Mapping entry to mapping file.
|
protected String |
getMapping(String before)
Get Mapping value.
|
String |
getMappingFile()
Name of mapping file (or null if not used).
|
IAnonymization.MappingFileUsage |
getMappingFileUsage()
Type of usage for the mapping file
|
PropagateUpdate[] |
getPropagatedUpdates()
"Children" to propagate the anonymization value to.
|
String |
getTempId()
TempID is necessary for a shuffle operation to store a temporary data row.
|
protected boolean |
hasMapping(String before)
Has Mapping entry.
|
protected void |
initMappingFile()
Initialize Mapping file for output.
|
protected void |
readMappingFile(String file) |
protected void |
saveMappingFile()
Save the Mapping file.
|
boolean |
useEncryption()
If encryption should be used for log file.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumn, run
public PropagateUpdate[] getPropagatedUpdates()
IAnonymization
getPropagatedUpdates
in interface IAnonymization
public String getMappingFile()
IAnonymization
getMappingFile
in interface IAnonymization
public IAnonymization.MappingFileUsage getMappingFileUsage()
IAnonymization
getMappingFileUsage
in interface IAnonymization
public String getTempId()
IAnonymization
getTempId
in interface IAnonymization
public boolean useEncryption()
IAnonymization
useEncryption
in interface IAnonymization
protected void initMappingFile() throws Exception
Exception
- when problems reading mapping fileprotected void saveMappingFile()
protected void addMapping(String before, String after)
before
- stringafter
- stringprotected String getMapping(String before)
before
- stringprotected boolean hasMapping(String before)
before
- stringCopyright © 2021. All rights reserved.