Package dev.vality.damsel.domain
Class Predicate
- All Implemented Interfaces:
Serializable,Comparable<Predicate>,org.apache.thrift.TBase<Predicate,Predicate._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Predicate
extends org.apache.thrift.TUnion<Predicate,Predicate._Fields>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPredicate._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<Predicate._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapFields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static Predicateall_of(Set<Predicate> value)static Predicateany_of(Set<Predicate> value)protected voidcheckType(Predicate._Fields setField, Object value)intcompareTo(Predicate other)static Predicatecondition(Condition value)static Predicateconstant(boolean value)static Predicatecriterion(CriterionRef value)PredicatedeepCopy()protected Predicate._FieldsenumForId(short id)booleanequals(Predicate other)booleanequals(Object other)Predicate._FieldsfieldForId(int fieldId)Set<Predicate>getAllOf()Set<Predicate>getAnyOf()ConditiongetCondition()booleangetConstant()CriterionRefgetCriterion()protected org.apache.thrift.protocol.TFieldgetFieldDesc(Predicate._Fields setField)Map<Predicate._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Predicate._Fields[]getFields()PredicategetIsNot()protected org.apache.thrift.protocol.TStructgetStructDesc()inthashCode()static Predicateis_not(Predicate value)booleanisSetAllOf()booleanisSetAnyOf()booleanisSetCondition()booleanisSetConstant()booleanisSetCriterion()booleanisSetIsNot()voidsetAllOf(Set<Predicate> value)voidsetAnyOf(Set<Predicate> value)voidsetCondition(Condition value)voidsetConstant(boolean value)voidsetCriterion(CriterionRef value)voidsetIsNot(Predicate value)protected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field)protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID)protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot)Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
-
-
Constructor Details
-
Predicate
public Predicate() -
Predicate
-
Predicate
-
-
Method Details
-
deepCopy
-
constant
-
condition
-
is_not
-
all_of
-
any_of
-
criterion
-
checkType
- Specified by:
checkTypein classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>- Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException- Specified by:
standardSchemeReadValuein classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>- Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException- Specified by:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>- Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>- Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<Predicate,Predicate._Fields>
-
getFields
-
getFieldMetaData
-
fieldForId
-
getConstant
public boolean getConstant() -
setConstant
public void setConstant(boolean value) -
getCondition
-
setCondition
-
getIsNot
-
setIsNot
-
getAllOf
-
setAllOf
-
getAnyOf
-
setAnyOf
-
getCriterion
-
setCriterion
-
isSetConstant
public boolean isSetConstant() -
isSetCondition
public boolean isSetCondition() -
isSetIsNot
public boolean isSetIsNot() -
isSetAllOf
public boolean isSetAllOf() -
isSetAnyOf
public boolean isSetAnyOf() -
isSetCriterion
public boolean isSetCriterion() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-