public class QueryDataSource extends DataSource
Constructor and Description |
---|
QueryDataSource(DruidFactQuery<?> query)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getNames()
Returns a set of identifiers used by Fili to identify this data source's physical tables.
|
Optional<? extends DruidFactQuery<?>> |
getQuery()
Get the query that defines the data source.
|
getPhysicalTable, getPhysicalTables, getType
public QueryDataSource(DruidFactQuery<?> query)
query
- Query that defines the DataSource.public Set<String> getNames()
DataSource
getNames
in class DataSource
public Optional<? extends DruidFactQuery<?>> getQuery()
DataSource
May be empty if the data source does not have a query.
getQuery
in class DataSource
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.