public class TestTableProvider extends Object implements TableProvider
Modifier and Type | Class and Description |
---|---|
static class |
TestTableProvider.UnsupportedTable |
Modifier and Type | Field and Description |
---|---|
static EnumSet<LiveViewTableCapability> |
CAPABILITIES |
Constructor and Description |
---|
TestTableProvider() |
Modifier and Type | Method and Description |
---|---|
static CatalogedTable |
createDummyCatalogedTable(String tableId) |
void |
initialize(String id,
TableProviderControl helper,
TableProviderParameters parameters,
TableNameMapper mapper)
An instance of your class will be initialized with the parameters that were defined in the LVConf.
|
void |
shutdown()
When this is called, you should close threads and do whatever else is necessary to clean up.
|
void |
start()
You should connect to your server successfully before returning from this call.
|
public static final EnumSet<LiveViewTableCapability> CAPABILITIES
public void initialize(String id, TableProviderControl helper, TableProviderParameters parameters, TableNameMapper mapper) throws LiveViewException
TableProvider
initialize
in interface TableProvider
id
- The id by which this TableProvider is declaredhelper
- Used to control the life cycle of the tableparameters
- Allows parameters supplied in LVCONFs to be passed to the table implementationmapper
- Provides a means to translate tables names based on LVCONF configurationLiveViewException
public void start() throws LiveViewException, InterruptedException
TableProvider
start
in interface TableProvider
LiveViewException
InterruptedException
public static CatalogedTable createDummyCatalogedTable(String tableId)
public void shutdown()
TableProvider
shutdown
in interface TableProvider
Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.