@InterfaceAudience.Private public class ColumnSchemaModel extends Object implements Serializable
<complexType name="ColumnSchema"> <attribute name="name" type="string"></attribute> <anyAttribute></anyAttribute> </complexType>
Constructor and Description |
---|
ColumnSchemaModel()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
__getBlockcache() |
int |
__getBlocksize() |
String |
__getBloomfilter() |
String |
__getCompression() |
boolean |
__getInMemory() |
int |
__getTTL() |
int |
__getVersions() |
void |
__setBlockcache(boolean value) |
void |
__setBlocksize(int value) |
void |
__setBloomfilter(String value) |
void |
__setCompression(String value) |
void |
__setInMemory(boolean value) |
void |
__setTTL(int value) |
void |
__setVersions(int value) |
void |
addAttribute(String name,
Object value)
Add an attribute to the column family schema
|
Map<QName,Object> |
getAny() |
String |
getAttribute(String name) |
String |
getName() |
void |
setName(String name) |
String |
toString() |
public void addAttribute(String name, Object value)
name
- the attribute namevalue
- the attribute valuepublic String getAttribute(String name)
name
- the attribute namepublic String getName()
public void setName(String name)
name
- the table namepublic boolean __getBlockcache()
public int __getBlocksize()
public String __getBloomfilter()
public String __getCompression()
public boolean __getInMemory()
public int __getTTL()
public int __getVersions()
public void __setBlocksize(int value)
value
- the desired value of the BLOCKSIZE attributepublic void __setBlockcache(boolean value)
value
- the desired value of the BLOCKCACHE attributepublic void __setBloomfilter(String value)
public void __setCompression(String value)
value
- the desired value of the COMPRESSION attributepublic void __setInMemory(boolean value)
value
- the desired value of the IN_MEMORY attributepublic void __setTTL(int value)
value
- the desired value of the TTL attributepublic void __setVersions(int value)
value
- the desired value of the VERSIONS attributeCopyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.