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
TableProviderinitialize in interface TableProviderid - 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 configurationLiveViewExceptionpublic void start()
throws LiveViewException,
InterruptedException
TableProviderstart in interface TableProviderLiveViewExceptionInterruptedExceptionpublic static CatalogedTable createDummyCatalogedTable(String tableId)
public void shutdown()
TableProvidershutdown in interface TableProviderCopyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.