Interface DataFormatProto.StreamFormat.AvroFormatOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getSchemaJson()
      Optional if used in a File DataSource as schema is embedded in avro file.
      com.google.protobuf.ByteString getSchemaJsonBytes()
      Optional if used in a File DataSource as schema is embedded in avro file.
      • 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

      • getSchemaJson

        String getSchemaJson()
         Optional if used in a File DataSource as schema is embedded in avro file.
         Specifies the schema of the Avro message as JSON string.
         
        string schema_json = 1;
        Returns:
        The schemaJson.
      • getSchemaJsonBytes

        com.google.protobuf.ByteString getSchemaJsonBytes()
         Optional if used in a File DataSource as schema is embedded in avro file.
         Specifies the schema of the Avro message as JSON string.
         
        string schema_json = 1;
        Returns:
        The bytes for schemaJson.