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, wait
getColumn, getColumns
protected BaseSchema(Granularity granularity, Iterable<Column> columns)
granularity
- The granularity for this schema.columns
- The columns for this schema.public LinkedHashSet<Column> getColumns()
Schema
getColumns
in interface Schema
public LinkedHashSet<String> getColumnNames()
public LinkedHashSet<String> getMetricColumnNames()
public Granularity getGranularity()
Schema
getGranularity
in interface Schema
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.