|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hive.service.FilterService
public class FilterService
FilterService.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.hive.service.Service |
---|
Service.STATE |
Constructor Summary | |
---|---|
FilterService(Service service)
|
Method Summary | |
---|---|
HiveConf |
getHiveConf()
Get the configuration of this service. |
String |
getName()
Get the name of this service. |
Service.STATE |
getServiceState()
Get the current service state |
long |
getStartTime()
Get the service start time |
void |
init(HiveConf config)
Initialize the service. |
void |
register(ServiceStateChangeListener listener)
Register an instance of the service state change events. |
void |
start()
Start the service. |
void |
stop()
Stop the service. |
void |
unregister(ServiceStateChangeListener listener)
Unregister a previously instance of the service state change events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilterService(Service service)
Method Detail |
---|
public void init(HiveConf config)
Service
Service.STATE.NOTINITED
to Service.STATE.INITED
unless the
operation failed and an exception was raised.
init
in interface Service
public void start()
Service
Service.STATE.INITED
to Service.STATE.STARTED
unless the
operation failed and an exception was raised.
start
in interface Service
public void stop()
Service
stop
in interface Service
public void register(ServiceStateChangeListener listener)
Service
register
in interface Service
listener
- a new listenerpublic void unregister(ServiceStateChangeListener listener)
Service
unregister
in interface Service
listener
- the listener to unregister.public String getName()
Service
getName
in interface Service
public HiveConf getHiveConf()
Service
getHiveConf
in interface Service
public Service.STATE getServiceState()
Service
getServiceState
in interface Service
public long getStartTime()
Service
getStartTime
in interface Service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |