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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe number of bytes that the column's values occupy in the file.The compression algorithms used for the column's values.The original style of annotation that describes how to interpret the stored values.The versions of the data page layout used for the column's values.The number of distinct values in the column.The encodings used for the column's values.Whether the description of the column's values is encrypted.The logical type annotation that describes how to interpret the stored values.The number of null values in the column.The location of the column in the file's schema.The type used to store the values.Whether the column is required, optional or repeated.The number of bytes that the column's values occupy once they are decompressed.The number of values stored for the column, including nulls. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the data type of the property used to store the measure.Return the description of the metric.Return the name of the metric.static List<SurveyMetric> Return the defined metrics as a listReturn the property name used to store the measurement.toString()Output of this enum class and main value.static ParquetColumnMetricReturns the enum constant of this class with the specified name.static ParquetColumnMetric[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VALUE_COUNT
The number of values stored for the column, including nulls. -
NULL_COUNT
The number of null values in the column. -
DISTINCT_COUNT
The number of distinct values in the column. -
COMPRESSED_SIZE
The number of bytes that the column's values occupy in the file. -
UNCOMPRESSED_SIZE
The number of bytes that the column's values occupy once they are decompressed. -
PATH_NAME
The location of the column in the file's schema. -
PHYSICAL_TYPE
The type used to store the values. -
LOGICAL_TYPE
The logical type annotation that describes how to interpret the stored values. -
CONVERTED_TYPE
The original style of annotation that describes how to interpret the stored values. -
REPETITION
Whether the column is required, optional or repeated. -
COMPRESSION_CODECS
The compression algorithms used for the column's values. -
ENCODINGS
The encodings used for the column's values. -
DATA_PAGE_VERSIONS
The versions of the data page layout used for the column's values. -
ENCRYPTED
Whether the description of the column's values is encrypted.
-
-
Field Details
-
propertyName
Name of the property. -
dataType
Type of the property. -
displayName
Name used for the property in the annotation. -
description
Description of the property.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getPropertyName
Return the property name used to store the measurement.- Specified by:
getPropertyNamein interfaceSurveyMetric- Returns:
- name
-
getDataType
Return the data type of the property used to store the measure.- Specified by:
getDataTypein interfaceSurveyMetric- Returns:
- data type name
-
getDisplayName
Return the name of the metric.- Specified by:
getDisplayNamein interfaceSurveyMetric- Returns:
- string name
-
getDescription
Return the description of the metric.- Specified by:
getDescriptionin interfaceSurveyMetric- Returns:
- text
-
getMetrics
Return the defined metrics as a list- Returns:
- list
-
toString
Output of this enum class and main value.- Overrides:
toStringin classEnum<ParquetColumnMetric>- Returns:
- string showing enum value
-