|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.data.thrift.TConstraintViolationSummary
public class TConstraintViolationSummary
Nested Class Summary | |
---|---|
static class |
TConstraintViolationSummary._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
String |
constrainClass
|
static Map<TConstraintViolationSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
long |
numberOfViolatingMutations
|
short |
violationCode
|
String |
violationDescription
|
Constructor Summary | |
---|---|
TConstraintViolationSummary()
|
|
TConstraintViolationSummary(String constrainClass,
short violationCode,
String violationDescription,
long numberOfViolatingMutations)
|
|
TConstraintViolationSummary(TConstraintViolationSummary other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(TConstraintViolationSummary other)
|
TConstraintViolationSummary |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TConstraintViolationSummary that)
|
TConstraintViolationSummary._Fields |
fieldForId(int fieldId)
|
String |
getConstrainClass()
|
Object |
getFieldValue(TConstraintViolationSummary._Fields field)
|
long |
getNumberOfViolatingMutations()
|
short |
getViolationCode()
|
String |
getViolationDescription()
|
int |
hashCode()
|
boolean |
isSet(TConstraintViolationSummary._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetConstrainClass()
Returns true if field constrainClass is set (has been assigned a value) and false otherwise |
boolean |
isSetNumberOfViolatingMutations()
Returns true if field numberOfViolatingMutations is set (has been assigned a value) and false otherwise |
boolean |
isSetViolationCode()
Returns true if field violationCode is set (has been assigned a value) and false otherwise |
boolean |
isSetViolationDescription()
Returns true if field violationDescription is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TConstraintViolationSummary |
setConstrainClass(String constrainClass)
|
void |
setConstrainClassIsSet(boolean value)
|
void |
setFieldValue(TConstraintViolationSummary._Fields field,
Object value)
|
TConstraintViolationSummary |
setNumberOfViolatingMutations(long numberOfViolatingMutations)
|
void |
setNumberOfViolatingMutationsIsSet(boolean value)
|
TConstraintViolationSummary |
setViolationCode(short violationCode)
|
void |
setViolationCodeIsSet(boolean value)
|
TConstraintViolationSummary |
setViolationDescription(String violationDescription)
|
void |
setViolationDescriptionIsSet(boolean value)
|
String |
toString()
|
void |
unsetConstrainClass()
|
void |
unsetNumberOfViolatingMutations()
|
void |
unsetViolationCode()
|
void |
unsetViolationDescription()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String constrainClass
public short violationCode
public String violationDescription
public long numberOfViolatingMutations
public static final Map<TConstraintViolationSummary._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TConstraintViolationSummary()
public TConstraintViolationSummary(String constrainClass, short violationCode, String violationDescription, long numberOfViolatingMutations)
public TConstraintViolationSummary(TConstraintViolationSummary other)
Method Detail |
---|
public TConstraintViolationSummary deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
public String getConstrainClass()
public TConstraintViolationSummary setConstrainClass(String constrainClass)
public void unsetConstrainClass()
public boolean isSetConstrainClass()
public void setConstrainClassIsSet(boolean value)
public short getViolationCode()
public TConstraintViolationSummary setViolationCode(short violationCode)
public void unsetViolationCode()
public boolean isSetViolationCode()
public void setViolationCodeIsSet(boolean value)
public String getViolationDescription()
public TConstraintViolationSummary setViolationDescription(String violationDescription)
public void unsetViolationDescription()
public boolean isSetViolationDescription()
public void setViolationDescriptionIsSet(boolean value)
public long getNumberOfViolatingMutations()
public TConstraintViolationSummary setNumberOfViolatingMutations(long numberOfViolatingMutations)
public void unsetNumberOfViolatingMutations()
public boolean isSetNumberOfViolatingMutations()
public void setNumberOfViolatingMutationsIsSet(boolean value)
public void setFieldValue(TConstraintViolationSummary._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
public Object getFieldValue(TConstraintViolationSummary._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
public boolean isSet(TConstraintViolationSummary._Fields field)
isSet
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TConstraintViolationSummary that)
public int hashCode()
hashCode
in class Object
public int compareTo(TConstraintViolationSummary other)
compareTo
in interface Comparable<TConstraintViolationSummary>
public TConstraintViolationSummary._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TConstraintViolationSummary,TConstraintViolationSummary._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |