com.baidubce.services.tablestorage.model
Class TableOption

java.lang.Object
  extended by com.baidubce.services.tablestorage.model.TableOption

public class TableOption
extends Object

Table option for create table and update table


Constructor Summary
TableOption()
           
 
Method Summary
 CompressType getCompressType()
          Get compress type of this table option object.
 int getMaxVersions()
          Get max version of this table option object.
 String getStorageType()
          Get storage type of this table option object.
 long getTableVersion()
          Get table version of this table option object.
 long getTimeToLive()
          Get timeToLive of this table option object.
 void setCompressType(CompressType compressType)
          Set compress type to this table option object.
 void setMaxVersions(int maxVersions)
          Set max version of this table option object.
 void setStorageType(String storageType)
          Set storage type of this table option object.
 void setTableVersion(long tableVersion)
          Set table state to this table option object.
 void setTimeToLive(long timeToLive)
          Set timeToLive of this table option object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableOption

public TableOption()
Method Detail

getTableVersion

public long getTableVersion()
Get table version of this table option object.

Returns:
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.

Returns:
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.

Returns:
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.

Returns:
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.

Returns:
The storage type.

setStorageType

public void setStorageType(String storageType)
Set storage type of this table option object.



Copyright © 2020. All rights reserved.