|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.SortField
public class SortField
Nested Class Summary | |
---|---|
static class |
SortField._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
String |
column
|
String |
family
|
static Map<SortField._Fields,FieldMetaData> |
metaDataMap
|
boolean |
reverse
|
Constructor Summary | |
---|---|
SortField()
|
|
SortField(SortField other)
Performs a deep copy on other. |
|
SortField(String family,
String column,
boolean reverse)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(SortField other)
|
SortField |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(SortField that)
|
SortField._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
String |
getColumn()
|
String |
getFamily()
|
Object |
getFieldValue(SortField._Fields field)
Get a field's value by field variable. |
int |
hashCode()
|
boolean |
isReverse()
|
boolean |
isSet(SortField._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetColumn()
Returns true if field column is set (has been assigned a value) and false otherwise |
boolean |
isSetFamily()
Returns true if field family is set (has been assigned a value) and false otherwise |
boolean |
isSetReverse()
Returns true if field reverse is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
SortField |
setColumn(String column)
|
void |
setColumnIsSet(boolean value)
|
SortField |
setFamily(String family)
|
void |
setFamilyIsSet(boolean value)
|
void |
setFieldValue(SortField._Fields field,
Object value)
Set a field's value by field variable. |
SortField |
setReverse(boolean reverse)
|
void |
setReverseIsSet(boolean value)
|
String |
toString()
|
void |
unsetColumn()
|
void |
unsetFamily()
|
void |
unsetReverse()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String family
public String column
public boolean reverse
public static final Map<SortField._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public SortField()
public SortField(String family, String column, boolean reverse)
public SortField(SortField other)
Method Detail |
---|
public SortField deepCopy()
deepCopy
in interface TBase<SortField,SortField._Fields>
public void clear()
TBase
clear
in interface TBase<SortField,SortField._Fields>
public String getFamily()
public SortField setFamily(String family)
public void unsetFamily()
public boolean isSetFamily()
public void setFamilyIsSet(boolean value)
public String getColumn()
public SortField setColumn(String column)
public void unsetColumn()
public boolean isSetColumn()
public void setColumnIsSet(boolean value)
public boolean isReverse()
public SortField setReverse(boolean reverse)
public void unsetReverse()
public boolean isSetReverse()
public void setReverseIsSet(boolean value)
public void setFieldValue(SortField._Fields field, Object value)
TBase
setFieldValue
in interface TBase<SortField,SortField._Fields>
public Object getFieldValue(SortField._Fields field)
TBase
getFieldValue
in interface TBase<SortField,SortField._Fields>
public boolean isSet(SortField._Fields field)
isSet
in interface TBase<SortField,SortField._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(SortField that)
public int hashCode()
hashCode
in class Object
public int compareTo(SortField other)
compareTo
in interface Comparable<SortField>
public SortField._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<SortField,SortField._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<SortField,SortField._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<SortField,SortField._Fields>
oprot
- Output protocol
TException
public String toString()
toString
in class Object
public void validate() throws TException
TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |