|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.accumulo.examples.constraints.AlphaNumKeyConstraint
public class AlphaNumKeyConstraint
This class is an accumulo constraint that ensures all fields of a key are alpha numeric.
Constructor Summary | |
---|---|
AlphaNumKeyConstraint()
|
Method Summary | |
---|---|
java.util.List<java.lang.Short> |
check(Mutation mutation)
Checks a mutation for constrain violations. |
java.lang.String |
getViolationDescription(short violationCode)
Implementers of this method should return a short one sentence description of what a given violation code means. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AlphaNumKeyConstraint()
Method Detail |
---|
public java.util.List<java.lang.Short> check(Mutation mutation)
Constraint
check
in interface Constraint
public java.lang.String getViolationDescription(short violationCode)
Constraint
getViolationDescription
in interface Constraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |