Class MetadataConstraints
- java.lang.Object
-
- org.apache.accumulo.server.constraints.MetadataConstraints
-
- All Implemented Interfaces:
Constraint
public class MetadataConstraints extends Object implements Constraint
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.data.constraints.Constraint
Constraint.Environment
-
-
Constructor Summary
Constructors Constructor Description MetadataConstraints()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Short>check(Constraint.Environment env, Mutation mutation)protected TransactionWatcher.ArbitratorgetArbitrator(ServerContext context)StringgetViolationDescription(short violationCode)
-
-
-
Method Detail
-
check
public List<Short> check(Constraint.Environment env, Mutation mutation)
- Specified by:
checkin interfaceConstraint
-
getArbitrator
protected TransactionWatcher.Arbitrator getArbitrator(ServerContext context)
-
getViolationDescription
public String getViolationDescription(short violationCode)
- Specified by:
getViolationDescriptionin interfaceConstraint
-
-