@InterfaceAudience.Private public class ColumnSchemaModel extends Object implements Serializable
<complexType name="ColumnSchema"> <attribute name="name" type="string"></attribute> <anyAttribute></anyAttribute> </complexType>
Modifier and Type | Field and Description |
---|---|
private Map<QName,Object> |
attrs |
private static QName |
BLOCKCACHE |
private static QName |
BLOCKSIZE |
private static QName |
BLOOMFILTER |
private static QName |
COMPRESSION |
private static QName |
IN_MEMORY |
private String |
name |
private static long |
serialVersionUID |
private static QName |
TTL |
private static QName |
VERSIONS |
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() |
private static final long serialVersionUID
private static QName BLOCKCACHE
private static QName BLOOMFILTER
private static QName COMPRESSION
public ColumnSchemaModel()
public void addAttribute(String name, Object value)
name
- the attribute namevalue
- the attribute valuepublic String getAttribute(String name)
name
- the attribute 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–2019 The Apache Software Foundation. All rights reserved.