org.apache.accumulo.core.tabletserver.thrift
Class ConstraintViolationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.thrift.TException
              extended by org.apache.accumulo.core.tabletserver.thrift.ConstraintViolationException
All Implemented Interfaces:
Serializable, Cloneable, Comparable<ConstraintViolationException>, org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>

public class ConstraintViolationException
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class ConstraintViolationException._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<ConstraintViolationException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<TConstraintViolationSummary> violationSummaries
           
 
Constructor Summary
ConstraintViolationException()
           
ConstraintViolationException(ConstraintViolationException other)
          Performs a deep copy on other.
ConstraintViolationException(List<TConstraintViolationSummary> violationSummaries)
           
 
Method Summary
 void addToViolationSummaries(TConstraintViolationSummary elem)
           
 void clear()
           
 int compareTo(ConstraintViolationException other)
           
 ConstraintViolationException deepCopy()
           
 boolean equals(ConstraintViolationException that)
           
 boolean equals(Object that)
           
 ConstraintViolationException._Fields fieldForId(int fieldId)
           
 Object getFieldValue(ConstraintViolationException._Fields field)
           
 List<TConstraintViolationSummary> getViolationSummaries()
           
 Iterator<TConstraintViolationSummary> getViolationSummariesIterator()
           
 int getViolationSummariesSize()
           
 int hashCode()
           
 boolean isSet(ConstraintViolationException._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetViolationSummaries()
          Returns true if field violationSummaries is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(ConstraintViolationException._Fields field, Object value)
           
 ConstraintViolationException setViolationSummaries(List<TConstraintViolationSummary> violationSummaries)
           
 void setViolationSummariesIsSet(boolean value)
           
 String toString()
           
 void unsetViolationSummaries()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>

clear

public void clear()
Specified by:
clear in interface org.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 interface org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>

getFieldValue

public Object getFieldValue(ConstraintViolationException._Fields field)
Specified by:
getFieldValue in interface org.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 interface org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(ConstraintViolationException that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(ConstraintViolationException other)
Specified by:
compareTo in interface Comparable<ConstraintViolationException>

fieldForId

public ConstraintViolationException._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.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 interface org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._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 interface org.apache.thrift.TBase<ConstraintViolationException,ConstraintViolationException._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Throwable

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.