Package org.apache.pinot.common.request
Class Identifier
- java.lang.Object
-
- org.apache.pinot.common.request.Identifier
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Identifier>,org.apache.thrift.TBase<Identifier,Identifier._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.15.0)", date="2022-05-02") public class Identifier extends Object implements org.apache.thrift.TBase<Identifier,Identifier._Fields>, Serializable, Cloneable, Comparable<Identifier>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdentifier._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<Identifier._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringname
-
Constructor Summary
Constructors Constructor Description Identifier()Identifier(String name)Identifier(Identifier other)Performs a deep copy on other.
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Identifier other)IdentifierdeepCopy()booleanequals(Object that)booleanequals(Identifier that)Identifier._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Identifier._Fields field)StringgetName()inthashCode()booleanisSet(Identifier._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetName()Returns true if field name is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Identifier._Fields field, Object value)IdentifiersetName(String name)voidsetNameIsSet(boolean value)StringtoString()voidunsetName()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
name
public String name
-
metaDataMap
public static final Map<Identifier._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Identifier
public Identifier()
-
Identifier
public Identifier(String name)
-
Identifier
public Identifier(Identifier other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Identifier deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Identifier,Identifier._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<Identifier,Identifier._Fields>
-
getName
public String getName()
-
setName
public Identifier setName(String name)
-
unsetName
public void unsetName()
-
isSetName
public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
-
setNameIsSet
public void setNameIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Identifier._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Identifier,Identifier._Fields>
-
getFieldValue
public Object getFieldValue(Identifier._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Identifier,Identifier._Fields>
-
isSet
public boolean isSet(Identifier._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<Identifier,Identifier._Fields>
-
equals
public boolean equals(Identifier that)
-
compareTo
public int compareTo(Identifier other)
- Specified by:
compareToin interfaceComparable<Identifier>
-
fieldForId
public Identifier._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Identifier,Identifier._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
-
-