Enum Class ParquetColumnMetric

java.lang.Object
java.lang.Enum<ParquetColumnMetric>
org.odpi.openmetadata.adapters.connectors.surveyaction.controls.ParquetColumnMetric
All Implemented Interfaces:
Serializable, Comparable<ParquetColumnMetric>, Constable, SurveyMetric

public enum ParquetColumnMetric extends Enum<ParquetColumnMetric> implements SurveyMetric
ParquetColumnMetric describes the measurements that the Parquet survey action service takes for each column that holds values in an Apache Parquet file. They come from the statistics, and the descriptions of how the values are stored, in the file's footer.
  • Enum Constant Details

    • VALUE_COUNT

      public static final ParquetColumnMetric VALUE_COUNT
      The number of values stored for the column, including nulls.
    • NULL_COUNT

      public static final ParquetColumnMetric NULL_COUNT
      The number of null values in the column.
    • DISTINCT_COUNT

      public static final ParquetColumnMetric DISTINCT_COUNT
      The number of distinct values in the column.
    • COMPRESSED_SIZE

      public static final ParquetColumnMetric COMPRESSED_SIZE
      The number of bytes that the column's values occupy in the file.
    • UNCOMPRESSED_SIZE

      public static final ParquetColumnMetric UNCOMPRESSED_SIZE
      The number of bytes that the column's values occupy once they are decompressed.
    • PATH_NAME

      public static final ParquetColumnMetric PATH_NAME
      The location of the column in the file's schema.
    • PHYSICAL_TYPE

      public static final ParquetColumnMetric PHYSICAL_TYPE
      The type used to store the values.
    • LOGICAL_TYPE

      public static final ParquetColumnMetric LOGICAL_TYPE
      The logical type annotation that describes how to interpret the stored values.
    • CONVERTED_TYPE

      public static final ParquetColumnMetric CONVERTED_TYPE
      The original style of annotation that describes how to interpret the stored values.
    • REPETITION

      public static final ParquetColumnMetric REPETITION
      Whether the column is required, optional or repeated.
    • COMPRESSION_CODECS

      public static final ParquetColumnMetric COMPRESSION_CODECS
      The compression algorithms used for the column's values.
    • ENCODINGS

      public static final ParquetColumnMetric ENCODINGS
      The encodings used for the column's values.
    • DATA_PAGE_VERSIONS

      public static final ParquetColumnMetric DATA_PAGE_VERSIONS
      The versions of the data page layout used for the column's values.
    • ENCRYPTED

      public static final ParquetColumnMetric ENCRYPTED
      Whether the description of the column's values is encrypted.
  • Field Details

    • propertyName

      public final String propertyName
      Name of the property.
    • dataType

      public final String dataType
      Type of the property.
    • displayName

      public final String displayName
      Name used for the property in the annotation.
    • description

      public final String description
      Description of the property.
  • Method Details

    • values

      public static ParquetColumnMetric[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ParquetColumnMetric valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getPropertyName

      public String getPropertyName()
      Return the property name used to store the measurement.
      Specified by:
      getPropertyName in interface SurveyMetric
      Returns:
      name
    • getDataType

      public String getDataType()
      Return the data type of the property used to store the measure.
      Specified by:
      getDataType in interface SurveyMetric
      Returns:
      data type name
    • getDisplayName

      public String getDisplayName()
      Return the name of the metric.
      Specified by:
      getDisplayName in interface SurveyMetric
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the metric.
      Specified by:
      getDescription in interface SurveyMetric
      Returns:
      text
    • getMetrics

      public static List<SurveyMetric> getMetrics()
      Return the defined metrics as a list
      Returns:
      list
    • toString

      public String toString()
      Output of this enum class and main value.
      Overrides:
      toString in class Enum<ParquetColumnMetric>
      Returns:
      string showing enum value