public class RedactMaskFactory extends MaskFactory
| Constructor and Description |
|---|
RedactMaskFactory(String... params) |
| Modifier and Type | Method and Description |
|---|---|
protected DataMask |
buildBinaryMask(TypeDescription schema) |
protected DataMask |
buildBooleanMask(TypeDescription schema) |
protected DataMask |
buildDateMask(TypeDescription schema) |
protected DataMask |
buildDecimalMask(TypeDescription schema) |
protected DataMask |
buildDoubleMask(TypeDescription schema) |
protected DataMask |
buildLongMask(TypeDescription schema) |
protected DataMask |
buildStringMask(TypeDescription schema) |
protected DataMask |
buildTimestampMask(TypeDescription schema) |
double |
maskDouble(double value)
Replace each digit in value with digit.
|
long |
maskLong(long value)
Replace each digit in value with DIGIT_REPLACEMENT scaled to the matching
number of digits.
|
build, buildChildren, buildStructMaskpublic RedactMaskFactory(String... params)
protected DataMask buildBooleanMask(TypeDescription schema)
buildBooleanMask in class MaskFactoryprotected DataMask buildLongMask(TypeDescription schema)
buildLongMask in class MaskFactoryprotected DataMask buildDecimalMask(TypeDescription schema)
buildDecimalMask in class MaskFactoryprotected DataMask buildDoubleMask(TypeDescription schema)
buildDoubleMask in class MaskFactoryprotected DataMask buildStringMask(TypeDescription schema)
buildStringMask in class MaskFactoryprotected DataMask buildDateMask(TypeDescription schema)
buildDateMask in class MaskFactoryprotected DataMask buildTimestampMask(TypeDescription schema)
buildTimestampMask in class MaskFactoryprotected DataMask buildBinaryMask(TypeDescription schema)
buildBinaryMask in class MaskFactorypublic long maskLong(long value)
value - the number to maskpublic double maskDouble(double value)
value - the number to maskCopyright © 2013–2022 The Apache Software Foundation. All rights reserved.