Class ParquetSchemaReader.ParquetMessageDefinition
java.lang.Object
com.illumon.iris.db.v2.locations.parquet.ParquetSchemaReader.ParquetMessageDefinition
- Enclosing class:
- ParquetSchemaReader
-
Field Summary
FieldsModifier and TypeFieldDescriptionClass<?>
The parquet type.When codec metadata is present (which will be returned as modified read instructions below for actual codec name and args), we expect codec type and component type to be present.Some types require special annotations to support regular parquet tools and efficient DH handling.boolean
Your guess is good hereboolean
Your guess is good here.Yes you guessed right.boolean
Parquet 1.0 did not support logical types; if we encounter a type like this is true.boolean
An indicator of if the file was written by DH. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
Yes you guessed right. This is the column name. -
baseType
The parquet type. -
wasWrittenByDH
public boolean wasWrittenByDHAn indicator of if the file was written by DH. We will not expose dictionary sources to the engine for files written by other services. -
dhSpecialType
Some types require special annotations to support regular parquet tools and efficient DH handling. Examples are StringSet and Vector; a parquet file with a IntVector special type metadata annotation, but storing types as repeated int, can be loaded both by other parquet tools and efficiently by DH. -
noLogicalType
public boolean noLogicalTypeParquet 1.0 did not support logical types; if we encounter a type like this is true. For example, in parquet 1.0 binary columns with no annotation are used to represent strings. They are also used to represent other things that are not strings. Good luck, may the force be with you. -
isArray
public boolean isArrayYour guess is good here -
isGrouping
public boolean isGroupingYour guess is good here. -
codecType
When codec metadata is present (which will be returned as modified read instructions below for actual codec name and args), we expect codec type and component type to be present. When they are present, codecType and codecComponentType take precedence over any other DH type deducing heuristics (and thus baseType in this structure can be ignored). -
codecComponentType
-
-
Constructor Details
-
ParquetMessageDefinition
public ParquetMessageDefinition()
-