Class AvroDatasetTypeProperties


  • public final class AvroDatasetTypeProperties
    extends Object
    Avro dataset properties.
    • Constructor Detail

      • AvroDatasetTypeProperties

        public AvroDatasetTypeProperties()
    • Method Detail

      • location

        public DatasetLocation location()
        Get the location property: The location of the avro storage.
        Returns:
        the location value.
      • withLocation

        public AvroDatasetTypeProperties withLocation​(DatasetLocation location)
        Set the location property: The location of the avro storage.
        Parameters:
        location - the location value to set.
        Returns:
        the AvroDatasetTypeProperties object itself.
      • avroCompressionCodec

        public Object avroCompressionCodec()
        Get the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType string).
        Returns:
        the avroCompressionCodec value.
      • withAvroCompressionCodec

        public AvroDatasetTypeProperties withAvroCompressionCodec​(Object avroCompressionCodec)
        Set the avroCompressionCodec property: The data avroCompressionCodec. Type: string (or Expression with resultType string).
        Parameters:
        avroCompressionCodec - the avroCompressionCodec value to set.
        Returns:
        the AvroDatasetTypeProperties object itself.
      • avroCompressionLevel

        public Integer avroCompressionLevel()
        Get the avroCompressionLevel property: The avroCompressionLevel property.
        Returns:
        the avroCompressionLevel value.
      • withAvroCompressionLevel

        public AvroDatasetTypeProperties withAvroCompressionLevel​(Integer avroCompressionLevel)
        Set the avroCompressionLevel property: The avroCompressionLevel property.
        Parameters:
        avroCompressionLevel - the avroCompressionLevel value to set.
        Returns:
        the AvroDatasetTypeProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.