|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thirdparty.thrift_0_9_0.TUnion<SortFieldResult,SortFieldResult._Fields>
org.apache.blur.thrift.generated.SortFieldResult
public class SortFieldResult
Carries the one value from the sort that allows the merging of results.
Nested Class Summary | |
---|---|
static class |
SortFieldResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<SortFieldResult._Fields,FieldMetaData> |
metaDataMap
|
Constructor Summary | |
---|---|
SortFieldResult()
|
|
SortFieldResult(SortFieldResult._Fields setField,
Object value)
|
|
SortFieldResult(SortFieldResult other)
|
Method Summary | |
---|---|
static SortFieldResult |
binaryValue(byte[] value)
|
static SortFieldResult |
binaryValue(ByteBuffer value)
|
ByteBuffer |
bufferForBinaryValue()
|
int |
compareTo(SortFieldResult other)
|
SortFieldResult |
deepCopy()
|
static SortFieldResult |
doubleValue(double value)
|
boolean |
equals(Object other)
|
boolean |
equals(SortFieldResult other)
|
SortFieldResult._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
byte[] |
getBinaryValue()
The binary value. |
double |
getDoubleValue()
The double value. |
int |
getIntValue()
The integer value. |
long |
getLongValue()
The long value. |
boolean |
getNullValue()
Carries the null boolean incase the field is null. |
String |
getStringValue()
The string value. |
int |
hashCode()
If you'd like this to perform more respectably, use the hashcode generator option. |
static SortFieldResult |
intValue(int value)
|
boolean |
isSetBinaryValue()
|
boolean |
isSetDoubleValue()
|
boolean |
isSetIntValue()
|
boolean |
isSetLongValue()
|
boolean |
isSetNullValue()
|
boolean |
isSetStringValue()
|
static SortFieldResult |
longValue(long value)
|
static SortFieldResult |
nullValue(boolean value)
|
void |
setBinaryValue(byte[] value)
The binary value. |
void |
setBinaryValue(ByteBuffer value)
|
void |
setDoubleValue(double value)
The double value. |
void |
setIntValue(int value)
The integer value. |
void |
setLongValue(long value)
The long value. |
void |
setNullValue(boolean value)
Carries the null boolean incase the field is null. |
void |
setStringValue(String value)
The string value. |
static SortFieldResult |
stringValue(String value)
|
Methods inherited from class org.apache.blur.thirdparty.thrift_0_9_0.TUnion |
---|
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Map<SortFieldResult._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public SortFieldResult()
public SortFieldResult(SortFieldResult._Fields setField, Object value)
public SortFieldResult(SortFieldResult other)
Method Detail |
---|
public SortFieldResult deepCopy()
public static SortFieldResult nullValue(boolean value)
public static SortFieldResult stringValue(String value)
public static SortFieldResult intValue(int value)
public static SortFieldResult longValue(long value)
public static SortFieldResult doubleValue(double value)
public static SortFieldResult binaryValue(ByteBuffer value)
public static SortFieldResult binaryValue(byte[] value)
public SortFieldResult._Fields fieldForId(int fieldId)
TBase
public boolean getNullValue()
public void setNullValue(boolean value)
public String getStringValue()
public void setStringValue(String value)
public int getIntValue()
public void setIntValue(int value)
public long getLongValue()
public void setLongValue(long value)
public double getDoubleValue()
public void setDoubleValue(double value)
public byte[] getBinaryValue()
public ByteBuffer bufferForBinaryValue()
public void setBinaryValue(byte[] value)
public void setBinaryValue(ByteBuffer value)
public boolean isSetNullValue()
public boolean isSetStringValue()
public boolean isSetIntValue()
public boolean isSetLongValue()
public boolean isSetDoubleValue()
public boolean isSetBinaryValue()
public boolean equals(Object other)
equals
in class Object
public boolean equals(SortFieldResult other)
public int compareTo(SortFieldResult other)
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |