|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cassandra.thrift.ColumnPath
public class ColumnPath
The ColumnPath is the path to a single column in Cassandra. It might make sense to think of ColumnPath and ColumnParent in terms of a directory structure. ColumnPath is used to looking up a single column.
Nested Class Summary | |
---|---|
static class |
ColumnPath._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
java.nio.ByteBuffer |
column
|
java.lang.String |
column_family
|
static java.util.Map<ColumnPath._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
java.nio.ByteBuffer |
super_column
|
Constructor Summary | |
---|---|
ColumnPath()
|
|
ColumnPath(ColumnPath other)
Performs a deep copy on other. |
|
ColumnPath(java.lang.String column_family)
|
Method Summary | |
---|---|
java.nio.ByteBuffer |
BufferForColumn()
|
java.nio.ByteBuffer |
BufferForSuper_column()
|
void |
clear()
|
int |
compareTo(ColumnPath other)
|
ColumnPath |
deepCopy()
|
boolean |
equals(ColumnPath that)
|
boolean |
equals(java.lang.Object that)
|
ColumnPath._Fields |
fieldForId(int fieldId)
|
java.lang.String |
getColumn_family()
|
byte[] |
getColumn()
|
java.lang.Object |
getFieldValue(ColumnPath._Fields field)
|
byte[] |
getSuper_column()
|
int |
hashCode()
|
boolean |
isSet(ColumnPath._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 |
isSetColumn()
Returns true if field column 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)
|
ColumnPath |
setColumn_family(java.lang.String column_family)
|
void |
setColumn_familyIsSet(boolean value)
|
ColumnPath |
setColumn(byte[] column)
|
ColumnPath |
setColumn(java.nio.ByteBuffer column)
|
void |
setColumnIsSet(boolean value)
|
void |
setFieldValue(ColumnPath._Fields field,
java.lang.Object value)
|
ColumnPath |
setSuper_column(byte[] super_column)
|
ColumnPath |
setSuper_column(java.nio.ByteBuffer super_column)
|
void |
setSuper_columnIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetColumn_family()
|
void |
unsetColumn()
|
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 java.nio.ByteBuffer column
public static final java.util.Map<ColumnPath._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public ColumnPath()
public ColumnPath(java.lang.String column_family)
public ColumnPath(ColumnPath other)
Method Detail |
---|
public ColumnPath deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._Fields>
public java.lang.String getColumn_family()
public ColumnPath 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 ColumnPath setSuper_column(byte[] super_column)
public ColumnPath setSuper_column(java.nio.ByteBuffer super_column)
public void unsetSuper_column()
public boolean isSetSuper_column()
public void setSuper_columnIsSet(boolean value)
public byte[] getColumn()
public java.nio.ByteBuffer BufferForColumn()
public ColumnPath setColumn(byte[] column)
public ColumnPath setColumn(java.nio.ByteBuffer column)
public void unsetColumn()
public boolean isSetColumn()
public void setColumnIsSet(boolean value)
public void setFieldValue(ColumnPath._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._Fields>
public java.lang.Object getFieldValue(ColumnPath._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._Fields>
public boolean isSet(ColumnPath._Fields field)
isSet
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ColumnPath that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ColumnPath other)
compareTo
in interface java.lang.Comparable<ColumnPath>
public ColumnPath._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ColumnPath,ColumnPath._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<ColumnPath,ColumnPath._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 |