Class ConstraintViolationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.thrift.TException
-
- org.apache.accumulo.core.tabletingest.thrift.ConstraintViolationException
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ConstraintViolationException>
,org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
,org.apache.thrift.TSerializable
public class ConstraintViolationException extends org.apache.thrift.TException implements org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>, Serializable, Cloneable, Comparable<ConstraintViolationException>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConstraintViolationException._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 static Map<ConstraintViolationException._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
List<TConstraintViolationSummary>
violationSummaries
-
Constructor Summary
Constructors Constructor Description ConstraintViolationException()
ConstraintViolationException(List<TConstraintViolationSummary> violationSummaries)
ConstraintViolationException(ConstraintViolationException other)
Performs a deep copy on other.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
violationSummaries
public List<TConstraintViolationSummary> violationSummaries
-
metaDataMap
public static final Map<ConstraintViolationException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ConstraintViolationException
public ConstraintViolationException()
-
ConstraintViolationException
public ConstraintViolationException(List<TConstraintViolationSummary> violationSummaries)
-
ConstraintViolationException
public ConstraintViolationException(ConstraintViolationException other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ConstraintViolationException deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
-
getViolationSummariesSize
public int getViolationSummariesSize()
-
getViolationSummariesIterator
public Iterator<TConstraintViolationSummary> getViolationSummariesIterator()
-
addToViolationSummaries
public void addToViolationSummaries(TConstraintViolationSummary elem)
-
getViolationSummaries
public List<TConstraintViolationSummary> getViolationSummaries()
-
setViolationSummaries
public ConstraintViolationException setViolationSummaries(List<TConstraintViolationSummary> violationSummaries)
-
unsetViolationSummaries
public void unsetViolationSummaries()
-
isSetViolationSummaries
public boolean isSetViolationSummaries()
Returns true if field violationSummaries is set (has been assigned a value) and false otherwise
-
setViolationSummariesIsSet
public void setViolationSummariesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(ConstraintViolationException._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
-
getFieldValue
public Object getFieldValue(ConstraintViolationException._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
-
isSet
public boolean isSet(ConstraintViolationException._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<ConstraintViolationException,ConstraintViolationException._Fields>
-
equals
public boolean equals(ConstraintViolationException that)
-
compareTo
public int compareTo(ConstraintViolationException other)
- Specified by:
compareTo
in interfaceComparable<ConstraintViolationException>
-
fieldForId
public ConstraintViolationException._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in 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:
write
in interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-