|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.Facet
public class Facet
Blur facet.
Nested Class Summary | |
---|---|
static class |
Facet._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<Facet._Fields,FieldMetaData> |
metaDataMap
|
long |
minimumNumberOfBlurResults
The minimum number of results before no longer processing the facet. |
String |
queryStr
The facet query. |
Constructor Summary | |
---|---|
Facet()
|
|
Facet(Facet other)
Performs a deep copy on other. |
|
Facet(String queryStr,
long minimumNumberOfBlurResults)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(Facet other)
|
Facet |
deepCopy()
|
boolean |
equals(Facet that)
|
boolean |
equals(Object that)
|
Facet._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
Object |
getFieldValue(Facet._Fields field)
Get a field's value by field variable. |
long |
getMinimumNumberOfBlurResults()
The minimum number of results before no longer processing the facet. |
String |
getQueryStr()
The facet query. |
int |
hashCode()
|
boolean |
isSet(Facet._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetMinimumNumberOfBlurResults()
Returns true if field minimumNumberOfBlurResults is set (has been assigned a value) and false otherwise |
boolean |
isSetQueryStr()
Returns true if field queryStr is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(Facet._Fields field,
Object value)
Set a field's value by field variable. |
Facet |
setMinimumNumberOfBlurResults(long minimumNumberOfBlurResults)
The minimum number of results before no longer processing the facet. |
void |
setMinimumNumberOfBlurResultsIsSet(boolean value)
|
Facet |
setQueryStr(String queryStr)
The facet query. |
void |
setQueryStrIsSet(boolean value)
|
String |
toString()
|
void |
unsetMinimumNumberOfBlurResults()
|
void |
unsetQueryStr()
|
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 queryStr
public long minimumNumberOfBlurResults
public static final Map<Facet._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public Facet()
public Facet(String queryStr, long minimumNumberOfBlurResults)
public Facet(Facet other)
Method Detail |
---|
public Facet deepCopy()
deepCopy
in interface TBase<Facet,Facet._Fields>
public void clear()
TBase
clear
in interface TBase<Facet,Facet._Fields>
public String getQueryStr()
public Facet setQueryStr(String queryStr)
public void unsetQueryStr()
public boolean isSetQueryStr()
public void setQueryStrIsSet(boolean value)
public long getMinimumNumberOfBlurResults()
public Facet setMinimumNumberOfBlurResults(long minimumNumberOfBlurResults)
public void unsetMinimumNumberOfBlurResults()
public boolean isSetMinimumNumberOfBlurResults()
public void setMinimumNumberOfBlurResultsIsSet(boolean value)
public void setFieldValue(Facet._Fields field, Object value)
TBase
setFieldValue
in interface TBase<Facet,Facet._Fields>
public Object getFieldValue(Facet._Fields field)
TBase
getFieldValue
in interface TBase<Facet,Facet._Fields>
public boolean isSet(Facet._Fields field)
isSet
in interface TBase<Facet,Facet._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(Facet that)
public int hashCode()
hashCode
in class Object
public int compareTo(Facet other)
compareTo
in interface Comparable<Facet>
public Facet._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<Facet,Facet._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<Facet,Facet._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<Facet,Facet._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 |