Class MetricSamplesTable
- java.lang.Object
-
- com.amazonaws.athena.connectors.cloudwatch.metrics.tables.Table
-
- com.amazonaws.athena.connectors.cloudwatch.metrics.tables.MetricSamplesTable
-
public class MetricSamplesTable extends Table
Defines the metadata associated with our static metric_samples table.This table contains the available metric samples for each metric named in the **metrics** table. More specifically, the table contains the following columns:
**namespace** - A VARCHAR containing the namespace. **metric_name** - A VARCHAR containing the metric name. **dimensions** - A LIST of STRUCTS comprised of dim_name (VARCHAR) and dim_value (VARCHAR). **dim_name** - A VARCHAR convenience field used to easily filter on a single dimension name. **dim_value** - A VARCHAR convenience field used to easily filter on a single dimension value. **period** - An INT field representing the 'period' of the metric in seconds. (e.g. 60 second metric) **timestamp** - A BIGINT field representing the epoch time (in seconds) the metric sample is for. **value** - A FLOAT8 field containing the value of the sample. **statistic** - A VARCHAR containing the statistic type of the sample. (e.g. AVERAGE, p90, etc..)
-
-
Field Summary
-
Fields inherited from class com.amazonaws.athena.connectors.cloudwatch.metrics.tables.Table
DIMENSION_NAME_FIELD, DIMENSION_VALUE_FIELD, DIMENSIONS_FIELD, METRIC_NAME_FIELD, NAMESPACE_FIELD, PERIOD_FIELD, STATISTIC_FIELD, TIMESTAMP_FIELD, VALUE_FIELD
-
-
Constructor Summary
Constructors Constructor Description MetricSamplesTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Set<String>
getPartitionColumns()
org.apache.arrow.vector.types.pojo.Schema
getSchema()
-
-
-
Method Detail
-
getSchema
public org.apache.arrow.vector.types.pojo.Schema getSchema()
-
getPartitionColumns
public Set<String> getPartitionColumns()
- Specified by:
getPartitionColumns
in classTable
-
-