Package org.apache.pinot.common.request
Class Selection
- java.lang.Object
-
- org.apache.pinot.common.request.Selection
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Selection>,org.apache.thrift.TBase<Selection,Selection._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-09-28") public class Selection extends Object implements org.apache.thrift.TBase<Selection,Selection._Fields>, Serializable, Cloneable, Comparable<Selection>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSelection._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<Selection._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToSelectionColumns(String elem)voidaddToSelectionSortSequence(SelectionSort elem)voidclear()intcompareTo(Selection other)SelectiondeepCopy()booleanequals(Object that)booleanequals(Selection that)Selection._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Selection._Fields field)intgetOffset()List<String>getSelectionColumns()Iterator<String>getSelectionColumnsIterator()intgetSelectionColumnsSize()List<SelectionSort>getSelectionSortSequence()Iterator<SelectionSort>getSelectionSortSequenceIterator()intgetSelectionSortSequenceSize()intgetSize()inthashCode()booleanisSet(Selection._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetOffset()Returns true if field offset is set (has been assigned a value) and false otherwisebooleanisSetSelectionColumns()Returns true if field selectionColumns is set (has been assigned a value) and false otherwisebooleanisSetSelectionSortSequence()Returns true if field selectionSortSequence is set (has been assigned a value) and false otherwisebooleanisSetSize()Returns true if field size is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Selection._Fields field, Object value)voidsetOffset(int offset)voidsetOffsetIsSet(boolean value)voidsetSelectionColumns(List<String> selectionColumns)voidsetSelectionColumnsIsSet(boolean value)voidsetSelectionSortSequence(List<SelectionSort> selectionSortSequence)voidsetSelectionSortSequenceIsSet(boolean value)voidsetSize(int size)voidsetSizeIsSet(boolean value)StringtoString()voidunsetOffset()voidunsetSelectionColumns()voidunsetSelectionSortSequence()voidunsetSize()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<Selection._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Selection
public Selection()
-
Selection
public Selection(Selection other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Selection deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Selection,Selection._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Selection,Selection._Fields>
-
getSelectionColumnsSize
public int getSelectionColumnsSize()
-
addToSelectionColumns
public void addToSelectionColumns(String elem)
-
unsetSelectionColumns
public void unsetSelectionColumns()
-
isSetSelectionColumns
public boolean isSetSelectionColumns()
Returns true if field selectionColumns is set (has been assigned a value) and false otherwise
-
setSelectionColumnsIsSet
public void setSelectionColumnsIsSet(boolean value)
-
getSelectionSortSequenceSize
public int getSelectionSortSequenceSize()
-
getSelectionSortSequenceIterator
public Iterator<SelectionSort> getSelectionSortSequenceIterator()
-
addToSelectionSortSequence
public void addToSelectionSortSequence(SelectionSort elem)
-
getSelectionSortSequence
public List<SelectionSort> getSelectionSortSequence()
-
setSelectionSortSequence
public void setSelectionSortSequence(List<SelectionSort> selectionSortSequence)
-
unsetSelectionSortSequence
public void unsetSelectionSortSequence()
-
isSetSelectionSortSequence
public boolean isSetSelectionSortSequence()
Returns true if field selectionSortSequence is set (has been assigned a value) and false otherwise
-
setSelectionSortSequenceIsSet
public void setSelectionSortSequenceIsSet(boolean value)
-
getOffset
public int getOffset()
-
setOffset
public void setOffset(int offset)
-
unsetOffset
public void unsetOffset()
-
isSetOffset
public boolean isSetOffset()
Returns true if field offset is set (has been assigned a value) and false otherwise
-
setOffsetIsSet
public void setOffsetIsSet(boolean value)
-
getSize
public int getSize()
-
setSize
public void setSize(int size)
-
unsetSize
public void unsetSize()
-
isSetSize
public boolean isSetSize()
Returns true if field size is set (has been assigned a value) and false otherwise
-
setSizeIsSet
public void setSizeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Selection._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Selection,Selection._Fields>
-
getFieldValue
public Object getFieldValue(Selection._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Selection,Selection._Fields>
-
isSet
public boolean isSet(Selection._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Selection,Selection._Fields>
-
equals
public boolean equals(Selection that)
-
compareTo
public int compareTo(Selection other)
- Specified by:
compareToin interfaceComparable<Selection>
-
fieldForId
public Selection._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Selection,Selection._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-