public class ColumnFamily extends Object
Java class for ColumnFamily complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ColumnFamily">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://xml.dataset.cassandraunit.org}ColumnFamilyType" minOccurs="0"/>
<element name="keyType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="comparatorType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="subComparatorType" type="{http://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
<element name="defaultColumnValueType" type="{http://xml.dataset.cassandraunit.org}DataType" minOccurs="0"/>
<element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="compactionStrategy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="compactionStrategyOptions" type="{http://xml.dataset.cassandraunit.org}CompactionStrategyOptions" minOccurs="0"/>
<element name="gcGraceSeconds" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="maxCompactionThreshold" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="minCompactionThreshold" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="readRepairChance" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="replicationOnWrite" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="columnMetadata" type="{http://xml.dataset.cassandraunit.org}ColumnMetadata" maxOccurs="unbounded" minOccurs="0"/>
<element name="row" type="{http://xml.dataset.cassandraunit.org}Row" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<ColumnMetadata> |
columnMetadata |
protected String |
comment |
protected String |
compactionStrategy |
protected CompactionStrategyOptions |
compactionStrategyOptions |
protected String |
comparatorType |
protected DataType |
defaultColumnValueType |
protected Integer |
gcGraceSeconds |
protected String |
keyType |
protected Integer |
maxCompactionThreshold |
protected Integer |
minCompactionThreshold |
protected String |
name |
protected Double |
readRepairChance |
protected Boolean |
replicationOnWrite |
protected List<Row> |
row |
protected DataType |
subComparatorType |
protected ColumnFamilyType |
type |
| Constructor and Description |
|---|
ColumnFamily() |
| Modifier and Type | Method and Description |
|---|---|
List<ColumnMetadata> |
getColumnMetadata()
Gets the value of the columnMetadata property.
|
String |
getComment()
Gets the value of the comment property.
|
String |
getCompactionStrategy()
Gets the value of the compactionStrategy property.
|
CompactionStrategyOptions |
getCompactionStrategyOptions()
Gets the value of the compactionStrategyOptions property.
|
String |
getComparatorType()
Gets the value of the comparatorType property.
|
DataType |
getDefaultColumnValueType()
Gets the value of the defaultColumnValueType property.
|
Integer |
getGcGraceSeconds()
Gets the value of the gcGraceSeconds property.
|
String |
getKeyType()
Gets the value of the keyType property.
|
Integer |
getMaxCompactionThreshold()
Gets the value of the maxCompactionThreshold property.
|
Integer |
getMinCompactionThreshold()
Gets the value of the minCompactionThreshold property.
|
String |
getName()
Gets the value of the name property.
|
Double |
getReadRepairChance()
Gets the value of the readRepairChance property.
|
Boolean |
getReplicationOnWrite()
Gets the value of the replicationOnWrite property.
|
List<Row> |
getRow()
Gets the value of the row property.
|
DataType |
getSubComparatorType()
Gets the value of the subComparatorType property.
|
ColumnFamilyType |
getType()
Gets the value of the type property.
|
void |
setComment(String value)
Sets the value of the comment property.
|
void |
setCompactionStrategy(String value)
Sets the value of the compactionStrategy property.
|
void |
setCompactionStrategyOptions(CompactionStrategyOptions value)
Sets the value of the compactionStrategyOptions property.
|
void |
setComparatorType(String value)
Sets the value of the comparatorType property.
|
void |
setDefaultColumnValueType(DataType value)
Sets the value of the defaultColumnValueType property.
|
void |
setGcGraceSeconds(Integer value)
Sets the value of the gcGraceSeconds property.
|
void |
setKeyType(String value)
Sets the value of the keyType property.
|
void |
setMaxCompactionThreshold(Integer value)
Sets the value of the maxCompactionThreshold property.
|
void |
setMinCompactionThreshold(Integer value)
Sets the value of the minCompactionThreshold property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setReadRepairChance(Double value)
Sets the value of the readRepairChance property.
|
void |
setReplicationOnWrite(Boolean value)
Sets the value of the replicationOnWrite property.
|
void |
setSubComparatorType(DataType value)
Sets the value of the subComparatorType property.
|
void |
setType(ColumnFamilyType value)
Sets the value of the type property.
|
protected String name
protected ColumnFamilyType type
protected String keyType
protected String comparatorType
protected DataType subComparatorType
protected DataType defaultColumnValueType
protected String comment
protected String compactionStrategy
protected CompactionStrategyOptions compactionStrategyOptions
protected Integer gcGraceSeconds
protected Integer maxCompactionThreshold
protected Integer minCompactionThreshold
protected Double readRepairChance
protected Boolean replicationOnWrite
protected List<ColumnMetadata> columnMetadata
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic ColumnFamilyType getType()
ColumnFamilyTypepublic void setType(ColumnFamilyType value)
value - allowed object is
ColumnFamilyTypepublic String getKeyType()
Stringpublic void setKeyType(String value)
value - allowed object is
Stringpublic String getComparatorType()
Stringpublic void setComparatorType(String value)
value - allowed object is
Stringpublic DataType getSubComparatorType()
DataTypepublic void setSubComparatorType(DataType value)
value - allowed object is
DataTypepublic DataType getDefaultColumnValueType()
DataTypepublic void setDefaultColumnValueType(DataType value)
value - allowed object is
DataTypepublic String getComment()
Stringpublic void setComment(String value)
value - allowed object is
Stringpublic String getCompactionStrategy()
Stringpublic void setCompactionStrategy(String value)
value - allowed object is
Stringpublic CompactionStrategyOptions getCompactionStrategyOptions()
CompactionStrategyOptionspublic void setCompactionStrategyOptions(CompactionStrategyOptions value)
value - allowed object is
CompactionStrategyOptionspublic Integer getGcGraceSeconds()
Integerpublic void setGcGraceSeconds(Integer value)
value - allowed object is
Integerpublic Integer getMaxCompactionThreshold()
Integerpublic void setMaxCompactionThreshold(Integer value)
value - allowed object is
Integerpublic Integer getMinCompactionThreshold()
Integerpublic void setMinCompactionThreshold(Integer value)
value - allowed object is
Integerpublic Double getReadRepairChance()
Doublepublic void setReadRepairChance(Double value)
value - allowed object is
Doublepublic Boolean getReplicationOnWrite()
Booleanpublic void setReplicationOnWrite(Boolean value)
value - allowed object is
Booleanpublic List<ColumnMetadata> getColumnMetadata()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the columnMetadata property.
For example, to add a new item, do as follows:
getColumnMetadata().add(newItem);
Objects of the following type(s) are allowed in the list
ColumnMetadata
public List<Row> getRow()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the row property.
For example, to add a new item, do as follows:
getRow().add(newItem);
Objects of the following type(s) are allowed in the list
Row
Copyright © 2014. All Rights Reserved.