Package dev.vality.damsel.accounter
Class InvalidPostingParams
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
dev.vality.damsel.accounter.InvalidPostingParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvalidPostingParams>,org.apache.thrift.TBase<InvalidPostingParams,,InvalidPostingParams._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvalidPostingParams
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>, Serializable, Cloneable, Comparable<InvalidPostingParams>
Возникает в случае, если переданы некорректные параметры в одной или нескольких проводках
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<InvalidPostingParams._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.InvalidPostingParams(Map<Posting, String> wrong_postings) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(InvalidPostingParams other) deepCopy()booleanequals(InvalidPostingParams that) booleanfieldForId(int fieldId) Map<InvalidPostingParams._Fields,org.apache.thrift.meta_data.FieldMetaData> intinthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field wrong_postings is set (has been assigned a value) and false otherwisevoidputToWrongPostings(Posting key, String val) voidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(InvalidPostingParams._Fields field, Object value) setWrongPostings(Map<Posting, String> wrong_postings) voidsetWrongPostingsIsSet(boolean value) toString()voidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
wrong_postings
-
metaDataMap
public static final Map<InvalidPostingParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvalidPostingParams
public InvalidPostingParams() -
InvalidPostingParams
-
InvalidPostingParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
getWrongPostingsSize
public int getWrongPostingsSize() -
putToWrongPostings
-
getWrongPostings
-
setWrongPostings
-
unsetWrongPostings
public void unsetWrongPostings() -
isSetWrongPostings
public boolean isSetWrongPostings()Returns true if field wrong_postings is set (has been assigned a value) and false otherwise -
setWrongPostingsIsSet
public void setWrongPostingsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvalidPostingParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._Fields>
-
getFieldMetaData
public Map<InvalidPostingParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvalidPostingParams,InvalidPostingParams._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-