public class DatabaseResourceService
extends org.apache.hive.service.AbstractService
Modifier and Type | Field and Description |
---|---|
static String |
LOAD_RESOURCES_ERRORS
The Constant LOAD_RESOURCES_ERRORS.
|
static String |
NAME |
Constructor and Description |
---|
DatabaseResourceService(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<LensSessionImpl.ResourceEntry> |
getResourcesForDatabase(String database)
Get resources added statically to the database
|
void |
start() |
void |
stop() |
public static final String NAME
public static final String LOAD_RESOURCES_ERRORS
public DatabaseResourceService(String name)
public void start()
start
in interface org.apache.hive.service.Service
start
in class org.apache.hive.service.AbstractService
public void stop()
stop
in interface org.apache.hive.service.Service
stop
in class org.apache.hive.service.AbstractService
public Collection<LensSessionImpl.ResourceEntry> getResourcesForDatabase(String database)
database
- dbCopyright © 2014–2018 Apache Software Foundation. All rights reserved.