|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.thrift.ColumnParent
public class ColumnParent
ColumnParent is used when selecting groups of columns from the same ColumnFamily. In directory structure terms, imagine ColumnParent as ColumnPath + '/../'. See also ColumnPath
Nested Class Summary | |
---|---|
static class |
ColumnParent._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
java.lang.String |
column_family
|
static java.util.Map<ColumnParent._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
java.nio.ByteBuffer |
super_column
|
Constructor Summary | |
---|---|
ColumnParent()
|
|
ColumnParent(ColumnParent other)
Performs a deep copy on other. |
|
ColumnParent(java.lang.String column_family)
|
Method Summary | |
---|---|
java.nio.ByteBuffer |
BufferForSuper_column()
|
void |
clear()
|
int |
compareTo(ColumnParent other)
|
ColumnParent |
deepCopy()
|
boolean |
equals(ColumnParent that)
|
boolean |
equals(java.lang.Object that)
|
ColumnParent._Fields |
fieldForId(int fieldId)
|
java.lang.String |
getColumn_family()
|
java.lang.Object |
getFieldValue(ColumnParent._Fields field)
|
byte[] |
getSuper_column()
|
int |
hashCode()
|
boolean |
isSet(ColumnParent._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetColumn_family()
Returns true if field column_family is set (has been asigned a value) and false otherwise |
boolean |
isSetSuper_column()
Returns true if field super_column is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
ColumnParent |
setColumn_family(java.lang.String column_family)
|
void |
setColumn_familyIsSet(boolean value)
|
void |
setFieldValue(ColumnParent._Fields field,
java.lang.Object value)
|
ColumnParent |
setSuper_column(byte[] super_column)
|
ColumnParent |
setSuper_column(java.nio.ByteBuffer super_column)
|
void |
setSuper_columnIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetColumn_family()
|
void |
unsetSuper_column()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String column_family
public java.nio.ByteBuffer super_column
public static final java.util.Map<ColumnParent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public ColumnParent()
public ColumnParent(java.lang.String column_family)
public ColumnParent(ColumnParent other)
Method Detail |
---|
public ColumnParent deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
public java.lang.String getColumn_family()
public ColumnParent setColumn_family(java.lang.String column_family)
public void unsetColumn_family()
public boolean isSetColumn_family()
public void setColumn_familyIsSet(boolean value)
public byte[] getSuper_column()
public java.nio.ByteBuffer BufferForSuper_column()
public ColumnParent setSuper_column(byte[] super_column)
public ColumnParent setSuper_column(java.nio.ByteBuffer super_column)
public void unsetSuper_column()
public boolean isSetSuper_column()
public void setSuper_columnIsSet(boolean value)
public void setFieldValue(ColumnParent._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
public java.lang.Object getFieldValue(ColumnParent._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
public boolean isSet(ColumnParent._Fields field)
isSet
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ColumnParent that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ColumnParent other)
compareTo
in interface java.lang.Comparable<ColumnParent>
public ColumnParent._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ColumnParent,ColumnParent._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |