Standard transformers¶
Standard transformers are ready-to-use methods that require no customization and perform with just as little as parameters input. Below you can find an index of all standard transformers currently available in Greenmask.
- Cmd — transforms data via external program using
stdin
andstdout
interaction. - Dict — replaces values matched by dictionary keys.
- Hash — generates a hash of the text value.
- Masking — masks a value using one of the masking behaviors depending on your domain.
- NoiseDate — randomly adds or subtracts a duration within the provided ratio interval to the original date value.
- NoiseFloat — adds or subtracts a random fraction to the original float value.terval to the original date value.
- NoiseNumeric — adds or subtracts a random fraction to the original numeric value.
- NoiseInt — adds or subtracts a random fraction to the original integer value.
- RandomBool — generates random boolean values.
- RandomChoice — replaces values randomly chosen from a provided list.
- RandomDate — generates a random date in a specified interval.
- RandomFloat — generates a random float within the provided interval.
- RandomInt — generates a random integer within the provided interval.
- RandomString — generates a random string using the provided characters within the specified length range.
- RandomUuid — generates a random unique user ID.
- RandomLatitude — generates a random latitude value.
- RandomLongitude — generates a random longitude value.
- RandomUnixTimestamp — generates a random Unix timestamp.
- RandomDayOfWeek — generates a random day of the week.
- RandomDayOfMonth — generates a random day of the month.
- RandomMonthName — generates the name of a random month.
- RandomYearString — generates a random year as a string.
- RandomCentury — generates a random century.
- RandomTimezone — generates a random timezone.
- RandomEmail — generates a random email address.
- RandomUsername — generates a random username.
- RandomPassword — generates a random password.
- RandomDomainName — generates a random domain name.
- RandomURL — generates a random URL.
- RandomMac — generates a random MAC addresses.
- RandomIP — generates a random IPv4 or IPv6 addresses.
- RandomWord — generates a random word.
- RandomSentence — generates a random sentence.
- RandomParagraph — generates a random paragraph.
- RandomCCType — generates a random credit card type.
- RandomCCNumber — generates a random credit card number.
- RandomCurrency — generates a random currency code.
- RandomAmountWithCurrency — generates a random monetary amount with currency.
- RandomPerson — generates a random person data (first name, last name, etc.)
- RandomPhoneNumber — generates a random phone number.
- RandomTollFreePhoneNumber — generates a random toll-free phone number.
- RandomE164PhoneNumber — generates a random phone number in E.164 format.
- RealAddress — generates a real address.
- RegexpReplace — replaces a string using a regular expression.
- Replace — replaces an original value by the provided one.
- SetNull — sets
NULL
value to the column.