public class GridSqlCreateTable extends GridSqlStatement
limit| Constructor and Description |
|---|
GridSqlCreateTable() |
public String templateName()
public void templateName(String templateName)
templateName - Cache name upon which new cache configuration for this table must be based.public String cacheName()
public void cacheName(String cacheName)
cacheName - Name of new cache associated with this table.public String keyTypeName()
public void keyTypeName(String keyTypeName)
keyTypeName - Name of cache key type.public String valueTypeName()
public void valueTypeName(String valTypeName)
valTypeName - Name of cache value type.public String cacheGroup()
public void cacheGroup(String cacheGrp)
cacheGrp - Group to put new cache into.public CacheAtomicityMode atomicityMode()
public void atomicityMode(CacheAtomicityMode atomicityMode)
atomicityMode - Atomicity mode for new cache.public CacheWriteSynchronizationMode writeSynchronizationMode()
public void writeSynchronizationMode(CacheWriteSynchronizationMode writeSyncMode)
writeSyncMode - Write sync mode for new cache.@Nullable public Integer backups()
public void backups(Integer backups)
backups - Backups number for new cache.public LinkedHashMap<String,GridSqlColumn> columns()
public void columns(LinkedHashMap<String,GridSqlColumn> cols)
cols - Columns.public LinkedHashSet<String> primaryKeyColumns()
public void primaryKeyColumns(LinkedHashSet<String> pkCols)
pkCols - Primary key columns.public String affinityKey()
public void affinityKey(String affinityKey)
affinityKey - Name of the column that represents affinity key.public String schemaName()
public void schemaName(String schemaName)
schemaName - Schema name upon which this statement has been issued.public String tableName()
public void tableName(String tblName)
tblName - Table name.public boolean ifNotExists()
public void ifNotExists(boolean ifNotExists)
ifNotExists - Quietly ignore this command if table already exists.public Boolean wrapKey()
public void wrapKey(boolean wrapKey)
wrapKey - Forcefully turn single column PK into an Object.public Boolean wrapValue()
public void wrapValue(boolean wrapVal)
wrapVal - Forcefully turn single column value into an Object..public String dataRegionName()
public void dataRegionName(String dataRegionName)
dataRegionName - Data region name.public String getSQL()
getSQL in class GridSqlStatement
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018