Package com.uber.cadence
Class SearchAttributes
- java.lang.Object
-
- com.uber.cadence.SearchAttributes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable<SearchAttributes>
,org.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2023-08-08") public class SearchAttributes extends java.lang.Object implements org.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SearchAttributes>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SearchAttributes._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description java.util.Map<java.lang.String,java.nio.ByteBuffer>
indexedFields
static java.util.Map<SearchAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description SearchAttributes()
SearchAttributes(SearchAttributes other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(SearchAttributes other)
SearchAttributes
deepCopy()
boolean
equals(SearchAttributes that)
boolean
equals(java.lang.Object that)
SearchAttributes._Fields
fieldForId(int fieldId)
java.lang.Object
getFieldValue(SearchAttributes._Fields field)
java.util.Map<java.lang.String,java.nio.ByteBuffer>
getIndexedFields()
int
getIndexedFieldsSize()
int
hashCode()
boolean
isSet(SearchAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetIndexedFields()
Returns true if field indexedFields is set (has been assigned a value) and false otherwisevoid
putToIndexedFields(java.lang.String key, java.nio.ByteBuffer val)
void
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(SearchAttributes._Fields field, java.lang.Object value)
SearchAttributes
setIndexedFields(java.util.Map<java.lang.String,java.nio.ByteBuffer> indexedFields)
void
setIndexedFieldsIsSet(boolean value)
java.lang.String
toString()
void
unsetIndexedFields()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
indexedFields
public java.util.Map<java.lang.String,java.nio.ByteBuffer> indexedFields
-
metaDataMap
public static final java.util.Map<SearchAttributes._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
SearchAttributes
public SearchAttributes()
-
SearchAttributes
public SearchAttributes(SearchAttributes other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public SearchAttributes deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
-
getIndexedFieldsSize
public int getIndexedFieldsSize()
-
putToIndexedFields
public void putToIndexedFields(java.lang.String key, java.nio.ByteBuffer val)
-
getIndexedFields
public java.util.Map<java.lang.String,java.nio.ByteBuffer> getIndexedFields()
-
setIndexedFields
public SearchAttributes setIndexedFields(java.util.Map<java.lang.String,java.nio.ByteBuffer> indexedFields)
-
unsetIndexedFields
public void unsetIndexedFields()
-
isSetIndexedFields
public boolean isSetIndexedFields()
Returns true if field indexedFields is set (has been assigned a value) and false otherwise
-
setIndexedFieldsIsSet
public void setIndexedFieldsIsSet(boolean value)
-
setFieldValue
public void setFieldValue(SearchAttributes._Fields field, java.lang.Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
-
getFieldValue
public java.lang.Object getFieldValue(SearchAttributes._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
-
isSet
public boolean isSet(SearchAttributes._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
-
equals
public boolean equals(java.lang.Object that)
- Overrides:
equals
in classjava.lang.Object
-
equals
public boolean equals(SearchAttributes that)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
public int compareTo(SearchAttributes other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<SearchAttributes>
-
fieldForId
public SearchAttributes._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
- Specified by:
write
in interfaceorg.apache.thrift.TBase<SearchAttributes,SearchAttributes._Fields>
- Throws:
org.apache.thrift.TException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-