Class GridSqlCreateTable


  • public class GridSqlCreateTable
    extends GridSqlStatement
    CREATE TABLE statement.
    • Constructor Detail

      • GridSqlCreateTable

        public GridSqlCreateTable()
    • Method Detail

      • templateName

        public String templateName()
        Returns:
        Cache name upon which new cache configuration for this table must be based.
      • templateName

        public void templateName​(String templateName)
        Parameters:
        templateName - Cache name upon which new cache configuration for this table must be based.
      • cacheName

        public String cacheName()
        Returns:
        Name of new cache associated with this table.
      • cacheName

        public void cacheName​(String cacheName)
        Parameters:
        cacheName - Name of new cache associated with this table.
      • keyTypeName

        public String keyTypeName()
        Returns:
        Name of cache key type.
      • keyTypeName

        public void keyTypeName​(String keyTypeName)
        Parameters:
        keyTypeName - Name of cache key type.
      • valueTypeName

        public String valueTypeName()
        Returns:
        Name of cache value type.
      • valueTypeName

        public void valueTypeName​(String valTypeName)
        Parameters:
        valTypeName - Name of cache value type.
      • cacheGroup

        public String cacheGroup()
        Returns:
        Group to put new cache into.
      • cacheGroup

        public void cacheGroup​(String cacheGrp)
        Parameters:
        cacheGrp - Group to put new cache into.
      • atomicityMode

        public CacheAtomicityMode atomicityMode()
        Returns:
        Atomicity mode for new cache.
      • atomicityMode

        public void atomicityMode​(CacheAtomicityMode atomicityMode)
        Parameters:
        atomicityMode - Atomicity mode for new cache.
      • writeSynchronizationMode

        public void writeSynchronizationMode​(CacheWriteSynchronizationMode writeSyncMode)
        Parameters:
        writeSyncMode - Write sync mode for new cache.
      • backups

        @Nullable
        public @Nullable Integer backups()
        Returns:
        Backups number for new cache.
      • backups

        public void backups​(Integer backups)
        Parameters:
        backups - Backups number for new cache.
      • primaryKeyColumns

        public LinkedHashSet<String> primaryKeyColumns()
        Returns:
        Primary key columns.
      • primaryKeyColumns

        public void primaryKeyColumns​(LinkedHashSet<String> pkCols)
        Parameters:
        pkCols - Primary key columns.
      • affinityKey

        public String affinityKey()
        Returns:
        Name of the column that represents affinity key.
      • affinityKey

        public void affinityKey​(String affinityKey)
        Parameters:
        affinityKey - Name of the column that represents affinity key.
      • schemaName

        public String schemaName()
        Returns:
        Schema name upon which this statement has been issued.
      • schemaName

        public void schemaName​(String schemaName)
        Parameters:
        schemaName - Schema name upon which this statement has been issued.
      • tableName

        public String tableName()
        Returns:
        Table name.
      • tableName

        public void tableName​(String tblName)
        Parameters:
        tblName - Table name.
      • ifNotExists

        public boolean ifNotExists()
        Returns:
        Quietly ignore this command if table already exists.
      • ifNotExists

        public void ifNotExists​(boolean ifNotExists)
        Parameters:
        ifNotExists - Quietly ignore this command if table already exists.
      • wrapKey

        public Boolean wrapKey()
        Returns:
        Forcefully turn single column PK into an Object.
      • wrapKey

        public void wrapKey​(boolean wrapKey)
        Parameters:
        wrapKey - Forcefully turn single column PK into an Object.
      • wrapValue

        public Boolean wrapValue()
        Returns:
        Forcefully turn single column value into an Object.
      • wrapValue

        public void wrapValue​(boolean wrapVal)
        Parameters:
        wrapVal - Forcefully turn single column value into an Object..
      • dataRegionName

        public String dataRegionName()
        Returns:
        Data region name.
      • dataRegionName

        public void dataRegionName​(String dataRegionName)
        Parameters:
        dataRegionName - Data region name.
      • params

        public List<String> params()
        Returns:
        Extra WITH-params.
      • params

        public void params​(List<String> params)
        Parameters:
        params - Extra WITH-params.
      • encrypted

        public Boolean encrypted()
        Returns:
        Encrypted flag.
      • encrypted

        public void encrypted​(boolean encrypted)
        Parameters:
        encrypted - Encrypted flag.
      • parallelism

        @Nullable
        public @Nullable Integer parallelism()
        Query parallelism value.
      • parallelism

        public void parallelism​(Integer parallelism)
        Parameters:
        parallelism - new query parallelism value.
      • primaryKeyInlineSize

        public Integer primaryKeyInlineSize()
      • primaryKeyInlineSize

        public void primaryKeyInlineSize​(Integer pkInlineSize)
      • affinityKeyInlineSize

        public Integer affinityKeyInlineSize()
      • affinityKeyInlineSize

        public void affinityKeyInlineSize​(Integer affInlineSize)