public interface Schema
| Modifier and Type | Method and Description | 
|---|---|
default <T extends Column> | 
getColumn(String name,
         Class<T> columnClass)
Given a column type and name, return the column of the expected type. 
 | 
Set<Column> | 
getColumns()
Get all the columns underlying this Schema. 
 | 
default <T extends Column> | 
getColumns(Class<T> columnClass)
Getter for set of columns by sub-type. 
 | 
Granularity | 
getGranularity()
Get the time granularity for this Schema. 
 | 
Set<Column> getColumns()
Granularity getGranularity()
default <T extends Column> LinkedHashSet<T> getColumns(Class<T> columnClass)
T - sub-type of Column to returncolumnClass - The class of columns to to searchdefault <T extends Column> Optional<T> getColumn(String name, Class<T> columnClass)
T - The type of the subclass of the column being retrievedname - The name on the columncolumnClass - The class of the column being retrievedCopyright © 2016–2018 Yahoo! Inc.. All rights reserved.