public class DruidSchema
extends org.apache.calcite.schema.impl.AbstractSchema
Constructor and Description |
---|
DruidSchema(QueryLifecycleFactory queryLifecycleFactory,
TimelineServerView serverView,
PlannerConfig config,
ViewManager viewManager,
Escalator escalator) |
Modifier and Type | Method and Description |
---|---|
void |
awaitInitialization() |
protected com.google.common.collect.Multimap<String,org.apache.calcite.schema.Function> |
getFunctionMultimap() |
protected Map<String,org.apache.calcite.schema.Table> |
getTableMap() |
void |
start() |
void |
stop() |
public static final String NAME
@Inject public DruidSchema(QueryLifecycleFactory queryLifecycleFactory, TimelineServerView serverView, PlannerConfig config, ViewManager viewManager, Escalator escalator)
public void start()
public void stop()
public void awaitInitialization() throws InterruptedException
InterruptedException
protected Map<String,org.apache.calcite.schema.Table> getTableMap()
getTableMap
in class org.apache.calcite.schema.impl.AbstractSchema
protected com.google.common.collect.Multimap<String,org.apache.calcite.schema.Function> getFunctionMultimap()
getFunctionMultimap
in class org.apache.calcite.schema.impl.AbstractSchema
Copyright © 2011–2018. All rights reserved.