Enum Class RelationalDatabaseMetric
java.lang.Object
java.lang.Enum<RelationalDatabaseMetric>
org.odpi.openmetadata.frameworks.surveyaction.measurements.RelationalDatabaseMetric
- All Implemented Interfaces:
Serializable
,Comparable<RelationalDatabaseMetric>
,Constable
,SurveyMetric
RelationalDatabaseMetric describes the metrics for a Relational Database.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe length of time (milliseconds) that the database was being actively queried.Count of all columns in the tables/views.Number of stored bytes of data in the surveyed resource.Name of the databaseLast time that the statistics were reset in the database.Count of materialized views in the database.Number of rows deleted from any table in the database.Number of rows retrieved from any table in the database.Number of rows inserted from any table in the database.Number of rows updated from any table in the database.Number of schemas found in the surveyed resource.The length of time (milliseconds) that the database had at least one open session from an external client.Number of tables found in the database.Count of views in the database. -
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 RelationalDatabaseMetric
Returns the enum constant of this class with the specified name.static RelationalDatabaseMetric[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DATABASE_NAME
Name of the database -
SCHEMA_COUNT
Number of schemas found in the surveyed resource. -
TABLE_COUNT
Number of tables found in the database. -
VIEW_COUNT
Count of views in the database. -
MAT_VIEW_COUNT
Count of materialized views in the database. -
COLUMN_COUNT
Count of all columns in the tables/views. -
DATA_SIZE
Number of stored bytes of data in the surveyed resource. -
ROWS_FETCHED
Number of rows retrieved from any table in the database. -
ROWS_INSERTED
Number of rows inserted from any table in the database. -
ROWS_UPDATED
Number of rows updated from any table in the database. -
ROWS_DELETED
Number of rows deleted from any table in the database. -
SESSION_TIME
The length of time (milliseconds) that the database had at least one open session from an external client. -
ACTIVE_TIME
The length of time (milliseconds) that the database was being actively queried. -
LAST_STATISTICS_RESET
Last time that the statistics were reset in the database.
-
-
Field Details
-
propertyName
-
dataType
-
displayName
-
description
-
-
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:
getPropertyName
in interfaceSurveyMetric
- Returns:
- name
-
getDataType
Return the data type of the property used to store the measure.- Specified by:
getDataType
in interfaceSurveyMetric
- Returns:
- data type name
-
getDisplayName
Return the name of the metric.- Specified by:
getDisplayName
in interfaceSurveyMetric
- Returns:
- string name
-
getDescription
Return the description of the metric.- Specified by:
getDescription
in interfaceSurveyMetric
- Returns:
- text
-
getMetrics
Return the defined metrics as a list- Returns:
- list
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<RelationalDatabaseMetric>
- Returns:
- string showing enum value
-