Package io.trino.plugin.hive.avro
Class TrinoAvroSerDe
java.lang.Object
org.apache.hadoop.hive.serde2.AbstractSerDe
org.apache.hadoop.hive.serde2.avro.AvroSerDe
io.trino.plugin.hive.avro.TrinoAvroSerDe
- All Implemented Interfaces:
org.apache.hadoop.hive.serde2.Deserializer,org.apache.hadoop.hive.serde2.Serializer
public class TrinoAvroSerDe
extends org.apache.hadoop.hive.serde2.avro.AvroSerDe
-
Field Summary
Fields inherited from class org.apache.hadoop.hive.serde2.avro.AvroSerDe
AVRO_INT_TYPE_NAME, AVRO_LONG_TYPE_NAME, AVRO_PROP_LOGICAL_TYPE, AVRO_PROP_MAX_LENGTH, AVRO_PROP_PRECISION, AVRO_PROP_SCALE, AVRO_STRING_TYPE_NAME, CHAR_TYPE_NAME, DATE_TYPE_NAME, DECIMAL_TYPE_NAME, LIST_COLUMN_COMMENTS, TABLE_COMMENT, TABLE_NAME, TIMESTAMP_TYPE_NAME, VARCHAR_TYPE_NAME, WRITER_TIME_ZONEFields inherited from class org.apache.hadoop.hive.serde2.AbstractSerDe
configErrors -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.avro.SchemadetermineSchemaOrReturnErrorSchema(org.apache.hadoop.conf.Configuration conf, Properties props) Methods inherited from class org.apache.hadoop.hive.serde2.avro.AvroSerDe
deserialize, getObjectInspector, getSchemaFromCols, getSerDeStats, getSerializedClass, initialize, initialize, serialize, shouldStoreFieldsInMetastoreMethods inherited from class org.apache.hadoop.hive.serde2.AbstractSerDe
getConfigurationErrors
-
Constructor Details
-
TrinoAvroSerDe
public TrinoAvroSerDe()
-
-
Method Details
-
determineSchemaOrReturnErrorSchema
public org.apache.avro.Schema determineSchemaOrReturnErrorSchema(org.apache.hadoop.conf.Configuration conf, Properties props) - Overrides:
determineSchemaOrReturnErrorSchemain classorg.apache.hadoop.hive.serde2.avro.AvroSerDe
-