Class GlueFieldLexer
- java.lang.Object
-
- com.amazonaws.athena.connector.lambda.metadata.glue.GlueFieldLexer
-
public class GlueFieldLexer extends Object
Extracts field definitions, including complex types like List and STRUCT, from AWS Glue Data Catalog's definition of a field. This class makes use of GlueTypeParser to tokenize the definition of the field. For basic fields, the Lexer's job is straight forward but for complex types it is more involved.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GlueFieldLexer.BaseTypeMapper
-
Field Summary
Fields Modifier and Type Field Description static boolean
MAP_DISABLED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.arrow.vector.types.pojo.Field
lex(String name, String input)
static org.apache.arrow.vector.types.pojo.Field
lex(String name, String input, GlueFieldLexer.BaseTypeMapper mapper)
-
-
-
Field Detail
-
MAP_DISABLED
public static final boolean MAP_DISABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
lex
public static org.apache.arrow.vector.types.pojo.Field lex(String name, String input, GlueFieldLexer.BaseTypeMapper mapper)
-
-