Enum Class ParquetFileMetric
java.lang.Object
java.lang.Enum<ParquetFileMetric>
org.odpi.openmetadata.adapters.connectors.surveyaction.controls.ParquetFileMetric
- All Implemented Interfaces:
Serializable,Comparable<ParquetFileMetric>,Constable,SurveyMetric
ParquetFileMetric describes the measurements that the Parquet survey action service takes from the footer of an
Apache Parquet file.
-
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 top-level columns in the file's schema.The number of bytes that the values occupy in the file.The compression algorithms used in the file.The description of the software that wrote the file.The versions of the data page layout used in the file.The encodings used for the values in the file.The algorithm used to encrypt columns in the file.The number of bytes in the file's footer.The version of the Parquet format declared by the writer of the file.The number of columns that hold values.The number of rows in the file.The number of row groups that the rows are divided into.The style of annotation used to describe how the stored values are interpreted.The number of bytes that the values occupy once they are decompressed.The names of the additional properties that the writer added to the file. -
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 ParquetFileMetricReturns the enum constant of this class with the specified name.static ParquetFileMetric[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORMAT_VERSION
The version of the Parquet format declared by the writer of the file. -
CREATED_BY
The description of the software that wrote the file. -
ROW_COUNT
The number of rows in the file. -
ROW_GROUP_COUNT
The number of row groups that the rows are divided into. -
COLUMN_COUNT
The number of top-level columns in the file's schema. -
LEAF_COLUMN_COUNT
The number of columns that hold values. -
FOOTER_SIZE
The number of bytes in the file's footer. -
COMPRESSED_SIZE
The number of bytes that the values occupy in the file. -
UNCOMPRESSED_SIZE
The number of bytes that the values occupy once they are decompressed. -
COMPRESSION_CODECS
The compression algorithms used in the file. -
ENCODINGS
The encodings used for the values in the file. -
DATA_PAGE_VERSIONS
The versions of the data page layout used in the file. -
TYPE_ANNOTATION_STYLE
The style of annotation used to describe how the stored values are interpreted. -
ENCRYPTION_ALGORITHM
The algorithm used to encrypt columns in the file. -
WRITER_PROPERTY_NAMES
The names of the additional properties that the writer added to the file.
-
-
Field Details
-
propertyName
Name of the property in the measurement bean. -
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<ParquetFileMetric>- Returns:
- string showing enum value
-