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_ZONE

    Fields inherited from class org.apache.hadoop.hive.serde2.AbstractSerDe

    configErrors
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.avro.Schema
    determineSchemaOrReturnErrorSchema(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, shouldStoreFieldsInMetastore

    Methods inherited from class org.apache.hadoop.hive.serde2.AbstractSerDe

    getConfigurationErrors

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TrinoAvroSerDe

      public TrinoAvroSerDe()
  • Method Details

    • determineSchemaOrReturnErrorSchema

      public org.apache.avro.Schema determineSchemaOrReturnErrorSchema(org.apache.hadoop.conf.Configuration conf, Properties props)
      Overrides:
      determineSchemaOrReturnErrorSchema in class org.apache.hadoop.hive.serde2.avro.AvroSerDe