public interface TableConfig
Modifier and Type | Method and Description |
---|---|
void |
addCaseInsensitiveFieldName(java.lang.String caseInsensitiveFieldName)
This method adds a case insensitive field name to the existing list of case insensitive table field names.
|
void |
addFieldRule(FieldRule fieldRule)
This method adds a field rule
FieldRule to the existing list of field rules. |
void |
addFilteredTableAlias(FilteredTableAlias filteredTableAlias)
Add a single filterdTableAlias to the existing list of alias
|
void |
addVariable(Variable variable)
The method is used to add a variable
Variable to the existing list of variables. |
QueryConfig |
getAggregateQuery()
This method returns the aggregate query for this table.
|
java.util.List<java.lang.String> |
getCaseInsensitiveFieldNames()
This method returns the list of case insensitive table field names.
|
java.lang.String |
getDescription()
The method returns the description of the Liveview table configured with this TableConfig object.
|
java.util.List<FieldRule> |
getFieldRules()
This method gets you the list of field rules
FieldRule |
java.util.List<FilteredTableAlias> |
getFilteredTableAliases()
This method returns the live list of filtered table alias which you may modify if new filtered tables are to be made based on this table.
|
java.util.List<java.util.List<java.lang.String>> |
getIndices()
This method returns the list of Indices for the table.
|
java.lang.String |
getPersistenceFolder()
This method returns the name of the folder where this table is persisted.
|
java.lang.String |
getRowDeleteRule()
The rule is a gateway for row to be published.
|
java.lang.String |
getSchema()
This method returns the string representation for the schema of the table being configured.
|
java.lang.String |
getShortDescription()
This method gets the short description that is used to describe the table.
|
int |
getSnapshotConcurrency()
Snapshot concurrency specifies the number of extra threads used to service the snapshot portion of queries.
|
int |
getSnapshotParallelism()
Snapshot parallelism determines the number of data regions used in parallel to publish to and scan from tables.
|
java.lang.String |
getTableDeleteRule()
Deprecated.
The tableDeleteRule specifies a condition when the rows present in this table are to be deleted.
|
java.util.List<java.lang.String> |
getTableDeleteRules() |
java.lang.String |
getTablename()
This method the name of the table from the Table Configuration
|
java.util.List<Variable> |
getVariables()
This method is used to get the list of variables
Variable with this Table Configuration |
boolean |
isPersistenceRestoreDataOnStart()
The method gets the boolean flag which if true, recovers the data is to be restored after the table is restarted.
|
boolean |
isSaveInProject()
The saveInProject flag is responsible for saving the tables to start even after the restart of liveview server.
|
TableConfig |
setAggregateQuery(QueryConfig aggregateQuery)
This method sets the aggregate query for the table.
|
TableConfig |
setDescription(java.lang.String description)
This method helps in setting the description for the table using this Table Configuration.
|
TableConfig |
setIndices(java.util.List<java.util.List<java.lang.String>> indices)
This method is used to set the Indices for the table being configured.
|
TableConfig |
setPersistenceFolder(java.lang.String persistenceFolder)
This method is used to set the persistent folder where this table will be persisted.
|
TableConfig |
setPersistenceRestoreDataOnStart(boolean persistenceRestoreDataOnStart)
The method sets the boolean flag which if true, recovers the data is to be restored after the table is restarted.
|
TableConfig |
setPrimaryIndex(java.lang.String... fieldNames)
This method is used to set the Primary Indexes from the list of fields passed to this method.
|
TableConfig |
setRowDeleteRule(java.lang.String rowDeleteRule)
The rowDeleteRule to set is a gateway for row to be published.
|
TableConfig |
setSaveInProject(boolean saveInProject)
The method is used to set the boolean value for the saveInProject flag, which is responsible for saving the tables to start even after the restart of Liveview server.
|
TableConfig |
setSchema(Schema sbSchema)
This method is used to set the schema for the table being configured.
|
TableConfig |
setSchema(java.lang.String schema)
This method is used to set the schema for the table being configured.
|
TableConfig |
setShortDescription(java.lang.String shortDescription)
The shortDescription of the table to be set with Table Configuration.
|
TableConfig |
setSnapshotConcurrency(int snapshotConcurrency)
Snapshot concurrency specifies the number of extra threads used to service the snapshot portion of queries.
|
TableConfig |
setSnapshotParallelism(int snapshotParallelism)
The snapshotParallelism value to set to enable data regions equal to the input value.
|
TableConfig |
setTableDeleteRule(java.lang.String tableDeleteRule)
Deprecated.
|
TableConfig |
setTableDeleteRules(java.util.List<java.lang.String> tableDeleteRules)
The tableDeleteRule to set specifies a condition when the rows present in this table are to be deleted.
|
TableConfig |
setTablename(java.lang.String tablename)
This method is used to set the name of the table to this Table Configuration
|
java.lang.String getTablename()
TableConfig setTablename(java.lang.String tablename)
table
- nameboolean isSaveInProject()
TableConfig setSaveInProject(boolean saveInProject)
saveInProject
- boolean flagjava.lang.String getDescription()
TableConfig setDescription(java.lang.String description)
description
- of the tablejava.lang.String getShortDescription()
TableConfig setShortDescription(java.lang.String shortDescription)
shortDescription
- of the tablejava.lang.String getSchema()
TableConfig setSchema(java.lang.String schema)
schema
- is the string representation of the table schemaTableConfig setSchema(Schema sbSchema)
sbSchema:
- schema for the tablejava.util.List<java.util.List<java.lang.String>> getIndices()
TableConfig setIndices(java.util.List<java.util.List<java.lang.String>> indices)
indices
- to set.TableConfig setPrimaryIndex(java.lang.String... fieldNames)
fieldNames
- QueryConfig getAggregateQuery()
TableConfig setAggregateQuery(QueryConfig aggregateQuery)
aggregateQuery
- the aggregateQuery to setjava.lang.String getRowDeleteRule()
TableConfig setRowDeleteRule(java.lang.String rowDeleteRule)
rowDeleteRule
- is the rowDeleteRule to setjava.lang.String getTableDeleteRule()
java.util.List<java.lang.String> getTableDeleteRules()
TableConfig setTableDeleteRules(java.util.List<java.lang.String> tableDeleteRules)
tableDeleteRules
- is the list of table delete rules to set while configuring the table.TableConfig setTableDeleteRule(java.lang.String tableDeleteRule)
tableDeleteRule
- : adds the table delete rule to the list to table delete rulesint getSnapshotParallelism()
TableConfig setSnapshotParallelism(int snapshotParallelism)
snapshotParallelism
- the snapshotParallelism to setint getSnapshotConcurrency()
TableConfig setSnapshotConcurrency(int snapshotConcurrency)
snapshotConcurrency
- the snapshotConcurrency to setjava.lang.String getPersistenceFolder()
TableConfig setPersistenceFolder(java.lang.String persistenceFolder)
persistenceFolder
- the persistenceFolder to setboolean isPersistenceRestoreDataOnStart()
TableConfig setPersistenceRestoreDataOnStart(boolean persistenceRestoreDataOnStart)
persistenceRestoreDataOnStart
- the persistenceRestoreDataOnStart to setjava.util.List<FilteredTableAlias> getFilteredTableAliases()
void addFilteredTableAlias(FilteredTableAlias filteredTableAlias)
filteredTableAlias
- the alias to addjava.util.List<Variable> getVariables()
Variable
with this Table Configurationvoid addVariable(Variable variable)
Variable
to the existing list of variables.variable
- the variable to addjava.util.List<FieldRule> getFieldRules()
FieldRule
void addFieldRule(FieldRule fieldRule)
FieldRule
to the existing list of field rules.fieldRule
- the fieldRule to addjava.util.List<java.lang.String> getCaseInsensitiveFieldNames()
void addCaseInsensitiveFieldName(java.lang.String caseInsensitiveFieldName)
caseInsensitiveFieldName
-