public class BaseSchema extends Object implements Schema
| Modifier | Constructor and Description |
|---|---|
protected |
BaseSchema(Granularity granularity,
Iterable<Column> columns)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
LinkedHashSet<String> |
getColumnNames()
Get the names of the columns returned by getColumns method.
|
LinkedHashSet<Column> |
getColumns()
Get all the columns underlying this Schema.
|
Granularity |
getGranularity()
Get the time granularity for this Schema.
|
LinkedHashSet<String> |
getMetricColumnNames()
Get the names of the columns returned by getColumns method which are metric columns.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetColumn, getColumnsprotected BaseSchema(Granularity granularity, Iterable<Column> columns)
granularity - The granularity for this schema.columns - The columns for this schema.public LinkedHashSet<Column> getColumns()
SchemagetColumns in interface Schemapublic LinkedHashSet<String> getColumnNames()
public LinkedHashSet<String> getMetricColumnNames()
public Granularity getGranularity()
SchemagetGranularity in interface SchemaCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.