public interface DataSourceConfiguration
Modifier and Type | Method and Description |
---|---|
List<io.druid.timeline.DataSegment> |
getDataSegments()
Gets a list of
data segments for a datasource in Druid. |
Set<String> |
getDimensions()
Gets the names of all the dimensions for the current datasource.
|
Set<String> |
getMetrics()
Gets the names of all the metrics for the current datasource.
|
String |
getName()
Gets the name of a datasource as would be stored in Druid.
|
TableName |
getTableName()
Gets the name of the datasource to be used as a
TableName in fili. |
TimeGrain |
getValidTimeGrain()
Gets the
TimeGrain which is valid for use in queries. |
String getName()
TableName getTableName()
TableName
in fili.TableName
for this datasource.Set<String> getMetrics()
Set<String> getDimensions()
TimeGrain getValidTimeGrain()
TimeGrain
which is valid for use in queries.
Note: In theory, a Datasource in Druid could have more than 1 grain at
different times, but for now we only want to support one.TimeGrain
for the current table.List<io.druid.timeline.DataSegment> getDataSegments()
data segments
for a datasource in Druid.Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.