public class ParserUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ParserUtils.StringPosition |
| Constructor and Description |
|---|
ParserUtils() |
| Modifier and Type | Method and Description |
|---|---|
static MaskDescriptionImpl |
buildMaskDescription(String value) |
static TypeDescription |
findSubtype(TypeDescription schema,
ParserUtils.StringPosition source) |
static TypeDescription |
findSubtype(TypeDescription schema,
ParserUtils.StringPosition source,
boolean isSchemaEvolutionCaseAware) |
static List<TypeDescription> |
findSubtypeList(TypeDescription schema,
ParserUtils.StringPosition source) |
static void |
parseKeys(ParserUtils.StringPosition source,
TypeDescription schema)
Annotate the given schema with the encryption information.
|
static void |
parseMasks(ParserUtils.StringPosition source,
TypeDescription schema)
Annotate the given schema with the masking information.
|
static TypeDescription |
parseType(ParserUtils.StringPosition source) |
public static TypeDescription parseType(ParserUtils.StringPosition source)
public static TypeDescription findSubtype(TypeDescription schema, ParserUtils.StringPosition source)
public static TypeDescription findSubtype(TypeDescription schema, ParserUtils.StringPosition source, boolean isSchemaEvolutionCaseAware)
public static List<TypeDescription> findSubtypeList(TypeDescription schema, ParserUtils.StringPosition source)
public static void parseKeys(ParserUtils.StringPosition source, TypeDescription schema)
source - the string to parseschema - the top level schemaIllegalArgumentException - if there are conflicting keys for a fieldpublic static void parseMasks(ParserUtils.StringPosition source, TypeDescription schema)
source - the string to parseschema - the top level schemaIllegalArgumentException - if there are conflicting masks for a fieldpublic static MaskDescriptionImpl buildMaskDescription(String value)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.