public interface TableConfig
String getTablename()
TableConfig setTablename(String tablename)
tablename
- the tablename to setboolean isSaveInProject()
TableConfig setSaveInProject(boolean saveInProject)
saveInProject
- the saveInProject to setString getDescription()
TableConfig setDescription(String description)
description
- the description to setString getShortDescription()
TableConfig setShortDescription(String shortDescription)
shortDescription
- the shortDescription to setString getSchema()
TableConfig setSchema(String schema)
schema
- the schema to setTableConfig setSchema(Schema sbSchema)
TableConfig setIndices(List<List<String>> indices)
indices
- the indices to set. Note that the first one is the primary index.TableConfig setPrimaryIndex(String... fieldNames)
fieldNames
- QueryConfig getAggregateQuery()
TableConfig setAggregateQuery(QueryConfig aggregateQuery)
aggregateQuery
- the aggregateQuery to setString getRowDeleteRule()
TableConfig setRowDeleteRule(String rowDeleteRule)
rowDeleteRule
- the rowDeleteRule to setString getTableDeleteRule()
TableConfig setTableDeleteRules(List<String> tableDeleteRules)
tableDeleteRules
- is the list of table delete rules to set while configuring the table.TableConfig setTableDeleteRule(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 setString getPersistenceFolder()
TableConfig setPersistenceFolder(String persistenceFolder)
persistenceFolder
- the persistenceFolder to setboolean isPersistenceRestoreDataOnStart()
TableConfig setPersistenceRestoreDataOnStart(boolean persistenceRestoreDataOnStart)
persistenceRestoreDataOnStart
- the persistenceRestoreDataOnStart to setList<FilteredTableAlias> getFilteredTableAliases()
void addFilteredTableAlias(FilteredTableAlias filteredTableAlias)
filteredTableAlias
- the alias to addList<Variable> getVariables()
void addVariable(Variable variable)
variable
- the variable to addList<FieldRule> getFieldRules()
void addFieldRule(FieldRule fieldRule)
fieldRule
- the fieldRule to addList<String> getCaseInsensitiveFieldNames()
void addCaseInsensitiveFieldName(String caseInsensitiveFieldName)
filteredTableAlias
- the alias to add