类 TableOption
- java.lang.Object
-
- com.baidubce.services.tablestorage.model.TableOption
-
public class TableOption extends Object
Table option for create table and update table
-
-
构造器概要
构造器 构造器 说明 TableOption()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 CompressTypegetCompressType()Get compress type of this table option object.intgetMaxVersions()Get max version of this table option object.StringgetStorageType()Get storage type of this table option object.longgetTableVersion()Get table version of this table option object.longgetTimeToLive()Get timeToLive of this table option object.voidsetCompressType(CompressType compressType)Set compress type to this table option object.voidsetMaxVersions(int maxVersions)Set max version of this table option object.voidsetStorageType(String storageType)Set storage type of this table option object.voidsetTableVersion(long tableVersion)Set table state to this table option object.voidsetTimeToLive(long timeToLive)Set timeToLive of this table option object.
-
-
-
方法详细资料
-
getTableVersion
public long getTableVersion()
Get table version of this table option object.- 返回:
- The table version.
-
setTableVersion
public void setTableVersion(long tableVersion)
Set table state to this table option object.
-
getCompressType
public CompressType getCompressType()
Get compress type of this table option object.- 返回:
- The compress type.
-
setCompressType
public void setCompressType(CompressType compressType)
Set compress type to this table option object.
-
getTimeToLive
public long getTimeToLive()
Get timeToLive of this table option object.- 返回:
- The timeToLive.
-
setTimeToLive
public void setTimeToLive(long timeToLive)
Set timeToLive of this table option object.
-
getMaxVersions
public int getMaxVersions()
Get max version of this table option object.- 返回:
- The max version.
-
setMaxVersions
public void setMaxVersions(int maxVersions)
Set max version of this table option object.
-
getStorageType
public String getStorageType()
Get storage type of this table option object.- 返回:
- The storage type.
-
setStorageType
public void setStorageType(String storageType)
Set storage type of this table option object.
-
-