public class ConstraintViolationSummary extends Object
Modifier and Type | Field and Description |
---|---|
String |
constrainClass |
long |
numberOfViolatingMutations |
short |
violationCode |
String |
violationDescription |
Constructor and Description |
---|
ConstraintViolationSummary(String constrainClass,
short violationCode,
String violationDescription,
long numberOfViolatingMutations)
Creates a new summary.
|
ConstraintViolationSummary(org.apache.accumulo.core.data.thrift.TConstraintViolationSummary tcvs)
Creates a new summary from Thrift.
|
Modifier and Type | Method and Description |
---|---|
String |
getConstrainClass() |
long |
getNumberOfViolatingMutations() |
short |
getViolationCode() |
String |
getViolationDescription() |
String |
toString() |
org.apache.accumulo.core.data.thrift.TConstraintViolationSummary |
toThrift()
Converts this summary to Thrift.
|
public String constrainClass
public short violationCode
public String violationDescription
public long numberOfViolatingMutations
public ConstraintViolationSummary(String constrainClass, short violationCode, String violationDescription, long numberOfViolatingMutations)
constrainClass
- class of constraint that was violatedviolationCode
- violation codeviolationDescription
- description of violationnumberOfViolatingMutations
- number of mutations that produced this particular violationpublic ConstraintViolationSummary(org.apache.accumulo.core.data.thrift.TConstraintViolationSummary tcvs)
tcvs
- Thrift summarypublic String getConstrainClass()
public short getViolationCode()
public String getViolationDescription()
public long getNumberOfViolatingMutations()
public org.apache.accumulo.core.data.thrift.TConstraintViolationSummary toThrift()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.