org.apache.accumulo.server.constraints
public class MetadataConstraints extends Object implements Constraint
Constraint.Environment
Constructor and Description |
---|
MetadataConstraints() |
Modifier and Type | Method and Description |
---|---|
List<Short> |
check(Constraint.Environment env,
Mutation mutation)
Checks a mutation for constrain violations.
|
protected void |
finalize() |
protected TransactionWatcher.Arbitrator |
getArbitrator() |
String |
getViolationDescription(short violationCode)
Implementers of this method should return a short one sentence description of what a given violation code means.
|
public List<Short> check(Constraint.Environment env, Mutation mutation)
Constraint
check
in interface Constraint
protected TransactionWatcher.Arbitrator getArbitrator()
public String getViolationDescription(short violationCode)
Constraint
getViolationDescription
in interface Constraint
Copyright © 2011-2015 The Apache Software Foundation. All Rights Reserved.