public class DefaultKeySizeConstraint extends Object implements Constraint
Constraint.Environment| Modifier and Type | Field and Description |
|---|---|
protected static short |
MAX__KEY_SIZE_EXCEEDED_VIOLATION |
protected static long |
maxSize |
| Constructor and Description |
|---|
DefaultKeySizeConstraint() |
| Modifier and Type | Method and Description |
|---|---|
List<Short> |
check(Constraint.Environment env,
Mutation mutation)
Checks a mutation for constrain violations.
|
String |
getViolationDescription(short violationCode)
Implementers of this method should return a short one sentence description of what a given violation code means.
|
protected static final short MAX__KEY_SIZE_EXCEEDED_VIOLATION
protected static final long maxSize
public String getViolationDescription(short violationCode)
ConstraintgetViolationDescription in interface Constraintpublic List<Short> check(Constraint.Environment env, Mutation mutation)
Constraintcheck in interface ConstraintCopyright © 2014 Apache Accumulo Project. All rights reserved.