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

public enum ParquetFileMetric extends Enum<ParquetFileMetric> implements SurveyMetric
ParquetFileMetric describes the measurements that the Parquet survey action service takes from the footer of an Apache Parquet file.
  • Enum Constant Details

    • FORMAT_VERSION

      public static final ParquetFileMetric FORMAT_VERSION
      The version of the Parquet format declared by the writer of the file.
    • CREATED_BY

      public static final ParquetFileMetric CREATED_BY
      The description of the software that wrote the file.
    • ROW_COUNT

      public static final ParquetFileMetric ROW_COUNT
      The number of rows in the file.
    • ROW_GROUP_COUNT

      public static final ParquetFileMetric ROW_GROUP_COUNT
      The number of row groups that the rows are divided into.
    • COLUMN_COUNT

      public static final ParquetFileMetric COLUMN_COUNT
      The number of top-level columns in the file's schema.
    • LEAF_COLUMN_COUNT

      public static final ParquetFileMetric LEAF_COLUMN_COUNT
      The number of columns that hold values.
    • COMPRESSED_SIZE

      public static final ParquetFileMetric COMPRESSED_SIZE
      The number of bytes that the values occupy in the file.
    • UNCOMPRESSED_SIZE

      public static final ParquetFileMetric UNCOMPRESSED_SIZE
      The number of bytes that the values occupy once they are decompressed.
    • COMPRESSION_CODECS

      public static final ParquetFileMetric COMPRESSION_CODECS
      The compression algorithms used in the file.
    • ENCODINGS

      public static final ParquetFileMetric ENCODINGS
      The encodings used for the values in the file.
    • DATA_PAGE_VERSIONS

      public static final ParquetFileMetric DATA_PAGE_VERSIONS
      The versions of the data page layout used in the file.
    • TYPE_ANNOTATION_STYLE

      public static final ParquetFileMetric TYPE_ANNOTATION_STYLE
      The style of annotation used to describe how the stored values are interpreted.
    • ENCRYPTION_ALGORITHM

      public static final ParquetFileMetric ENCRYPTION_ALGORITHM
      The algorithm used to encrypt columns in the file.
    • WRITER_PROPERTY_NAMES

      public static final ParquetFileMetric WRITER_PROPERTY_NAMES
      The names of the additional properties that the writer added to the file.
  • Field Details

    • propertyName

      public final String propertyName
      Name of the property in the measurement bean.
    • 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 ParquetFileMetric[] 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 ParquetFileMetric 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<ParquetFileMetric>
      Returns:
      string showing enum value