Interface AvroSerializationOptionsOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    AvroSerializationOptions, AvroSerializationOptions.Builder

    public interface AvroSerializationOptionsOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getEnableDisplayNameAttribute()
      Enable displayName attribute in Avro schema.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getEnableDisplayNameAttribute

        boolean getEnableDisplayNameAttribute()
         Enable displayName attribute in Avro schema.
        
         The Avro specification requires field names to be alphanumeric.  By
         default, in cases when column names do not conform to these requirements
         (e.g. non-ascii unicode codepoints) and Avro is requested as an output
         format, the CreateReadSession call will fail.
        
         Setting this field to true, populates avro field names with a placeholder
         value and populates a "displayName" attribute for every avro field with the
         original column name.
         
        bool enable_display_name_attribute = 1;
        Returns:
        The enableDisplayNameAttribute.