类 TableOption


  • public class TableOption
    extends Object
    Table option for create table and update table
    • 构造器详细资料

      • TableOption

        public TableOption()
    • 方法详细资料

      • 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.