Class PartitionStorageDescriptor


  • public final class PartitionStorageDescriptor
    extends java.lang.Object
    • Method Detail

      • additionalLocations

        public java.util.List<java.lang.String> additionalLocations()
        Returns:
        List of locations that point to the path where a Delta table is located.
      • bucketColumns

        public java.util.List<java.lang.String> bucketColumns()
        Returns:
        List of reducer grouping columns, clustering columns, and bucketing columns in the table.
      • compressed

        public java.util.Optional<java.lang.Boolean> compressed()
        Returns:
        True if the data in the table is compressed, or False if not.
      • inputFormat

        public java.util.Optional<java.lang.String> inputFormat()
        Returns:
        Input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.
      • location

        public java.util.Optional<java.lang.String> location()
        Returns:
        Physical location of the table. By default this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.
      • numberOfBuckets

        public java.util.Optional<java.lang.Integer> numberOfBuckets()
        Returns:
        Must be specified if the table contains any dimension columns.
      • outputFormat

        public java.util.Optional<java.lang.String> outputFormat()
        Returns:
        Output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.
      • parameters

        public java.util.Map<java.lang.String,​java.lang.String> parameters()
        Returns:
        User-supplied properties in key-value form.
      • skewedInfo

        public java.util.Optional<PartitionStorageDescriptorSkewedInfo> skewedInfo()
        Returns:
        Information about values that appear very frequently in a column (skewed values).
      • sortColumns

        public java.util.List<PartitionStorageDescriptorSortColumn> sortColumns()
        Returns:
        List of `sortColumns` objects specifying the sort order of each bucket in the table.
      • storedAsSubDirectories

        public java.util.Optional<java.lang.Boolean> storedAsSubDirectories()
        Returns:
        True if the table data is stored in subdirectories, or False if not.