@ThreadSafe public class CatalogServer extends org.apache.hadoop.service.AbstractService
Modifier and Type | Class and Description |
---|---|
class |
CatalogServer.CatalogProtocolHandler |
Constructor and Description |
---|
CatalogServer() |
CatalogServer(List<FunctionDesc> sqlFuncs) |
Modifier and Type | Method and Description |
---|---|
InetSocketAddress |
getBindAddress() |
String |
getCatalogServerName() |
TajoConf |
getConf() |
CatalogServer.CatalogProtocolHandler |
getHandler() |
String |
getStoreClassName() |
static void |
main(String[] args) |
void |
reloadBuiltinFunctions(List<FunctionDesc> builtingFuncs) |
void |
serviceInit(org.apache.hadoop.conf.Configuration conf) |
void |
start() |
void |
stop() |
close, getBlockers, getConfig, getFailureCause, getFailureState, getLifecycleHistory, getName, getServiceState, getStartTime, init, isInState, noteFailure, putBlocker, registerGlobalListener, registerServiceListener, removeBlocker, serviceStart, serviceStop, setConfig, toString, unregisterGlobalListener, unregisterServiceListener, waitForServiceToStop
public CatalogServer() throws IOException
IOException
public CatalogServer(List<FunctionDesc> sqlFuncs) throws IOException
IOException
public void reloadBuiltinFunctions(List<FunctionDesc> builtingFuncs) throws com.google.protobuf.ServiceException
com.google.protobuf.ServiceException
public void serviceInit(org.apache.hadoop.conf.Configuration conf) throws Exception
serviceInit
in class org.apache.hadoop.service.AbstractService
Exception
public TajoConf getConf()
public String getStoreClassName()
public String getCatalogServerName()
public void start()
start
in interface org.apache.hadoop.service.Service
start
in class org.apache.hadoop.service.AbstractService
public void stop()
stop
in interface org.apache.hadoop.service.Service
stop
in class org.apache.hadoop.service.AbstractService
public CatalogServer.CatalogProtocolHandler getHandler()
public InetSocketAddress getBindAddress()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.