Class MaxMutationSize
- java.lang.Object
-
- org.apache.accumulo.test.constraints.MaxMutationSize
-
- All Implemented Interfaces:
Constraint
public class MaxMutationSize extends Object implements Constraint
Ensure that mutations are a reasonable size: we must be able to fit several in memory at a time.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.data.constraints.Constraint
Constraint.Environment
-
-
Constructor Summary
Constructors Constructor Description MaxMutationSize()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Short>
check(Constraint.Environment env, Mutation mutation)
String
getViolationDescription(short violationCode)
-
-
-
Method Detail
-
getViolationDescription
public String getViolationDescription(short violationCode)
- Specified by:
getViolationDescription
in interfaceConstraint
-
check
public List<Short> check(Constraint.Environment env, Mutation mutation)
- Specified by:
check
in interfaceConstraint
-
-