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.TableDIMENSION_NAME_FIELD, DIMENSION_VALUE_FIELD, DIMENSIONS_FIELD, METRIC_NAME_FIELD, NAMESPACE_FIELD, PERIOD_FIELD, STATISTIC_FIELD, TIMESTAMP_FIELD, VALUE_FIELD
 
- 
 - 
Constructor SummaryConstructors Constructor Description MetricSamplesTable()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Set<String>getPartitionColumns()org.apache.arrow.vector.types.pojo.SchemagetSchema()
 
- 
- 
- 
Method Detail- 
getSchemapublic org.apache.arrow.vector.types.pojo.Schema getSchema() 
 - 
getPartitionColumnspublic Set<String> getPartitionColumns() - Specified by:
- getPartitionColumnsin class- Table
 
 
- 
 
-