@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2018-08-17")
public class Facet
extends java.lang.Object
implements org.apache.thrift.TBase<Facet,Facet._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Facet>
| Modifier and Type | Class and Description |
|---|---|
static class |
Facet._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<Facet._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Facet() |
Facet(boolean enabled,
int facetMinCount,
int facetLimit,
boolean facetMissing,
java.util.List<java.lang.String> facetField) |
Facet(Facet other) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToFacetField(java.lang.String elem) |
void |
clear() |
int |
compareTo(Facet other) |
Facet |
deepCopy() |
boolean |
equals(Facet that) |
boolean |
equals(java.lang.Object that) |
Facet._Fields |
fieldForId(int fieldId) |
java.util.List<java.lang.String> |
getFacetField() |
java.util.Iterator<java.lang.String> |
getFacetFieldIterator() |
int |
getFacetFieldSize() |
int |
getFacetLimit() |
int |
getFacetMinCount() |
java.lang.Object |
getFieldValue(Facet._Fields field) |
int |
hashCode() |
boolean |
isEnabled() |
boolean |
isFacetMissing() |
boolean |
isSet(Facet._Fields field) |
boolean |
isSetEnabled() |
boolean |
isSetFacetField() |
boolean |
isSetFacetLimit() |
boolean |
isSetFacetMinCount() |
boolean |
isSetFacetMissing() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Facet |
setEnabled(boolean enabled) |
void |
setEnabledIsSet(boolean value) |
Facet |
setFacetField(java.util.List<java.lang.String> facetField) |
void |
setFacetFieldIsSet(boolean value) |
Facet |
setFacetLimit(int facetLimit) |
void |
setFacetLimitIsSet(boolean value) |
Facet |
setFacetMinCount(int facetMinCount) |
void |
setFacetMinCountIsSet(boolean value) |
Facet |
setFacetMissing(boolean facetMissing) |
void |
setFacetMissingIsSet(boolean value) |
void |
setFieldValue(Facet._Fields field,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetEnabled() |
void |
unsetFacetField() |
void |
unsetFacetLimit() |
void |
unsetFacetMinCount() |
void |
unsetFacetMissing() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<Facet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Facet()
public Facet(boolean enabled,
int facetMinCount,
int facetLimit,
boolean facetMissing,
java.util.List<java.lang.String> facetField)
public Facet(Facet other)
public Facet deepCopy()
deepCopy in interface org.apache.thrift.TBase<Facet,Facet._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Facet,Facet._Fields>public boolean isEnabled()
public Facet setEnabled(boolean enabled)
public void unsetEnabled()
public boolean isSetEnabled()
public void setEnabledIsSet(boolean value)
public int getFacetMinCount()
public Facet setFacetMinCount(int facetMinCount)
public void unsetFacetMinCount()
public boolean isSetFacetMinCount()
public void setFacetMinCountIsSet(boolean value)
public int getFacetLimit()
public Facet setFacetLimit(int facetLimit)
public void unsetFacetLimit()
public boolean isSetFacetLimit()
public void setFacetLimitIsSet(boolean value)
public boolean isFacetMissing()
public Facet setFacetMissing(boolean facetMissing)
public void unsetFacetMissing()
public boolean isSetFacetMissing()
public void setFacetMissingIsSet(boolean value)
public int getFacetFieldSize()
public java.util.Iterator<java.lang.String> getFacetFieldIterator()
public void addToFacetField(java.lang.String elem)
public java.util.List<java.lang.String> getFacetField()
public Facet setFacetField(java.util.List<java.lang.String> facetField)
public void unsetFacetField()
public boolean isSetFacetField()
public void setFacetFieldIsSet(boolean value)
public void setFieldValue(Facet._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<Facet,Facet._Fields>public java.lang.Object getFieldValue(Facet._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Facet,Facet._Fields>public boolean isSet(Facet._Fields field)
isSet in interface org.apache.thrift.TBase<Facet,Facet._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Facet that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Facet other)
compareTo in interface java.lang.Comparable<Facet>public Facet._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Facet,Facet._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<Facet,Facet._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<Facet,Facet._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2023. All Rights Reserved.