org.apache.accumulo.server.constraints
Class UnsatisfiableConstraint

java.lang.Object
  extended by org.apache.accumulo.server.constraints.UnsatisfiableConstraint
All Implemented Interfaces:
Constraint

public class UnsatisfiableConstraint
extends java.lang.Object
implements Constraint


Constructor Summary
UnsatisfiableConstraint(short vcode, java.lang.String violationDescription)
           
 
Method Summary
 java.util.List<java.lang.Short> check(Mutation mutation)
           
 java.lang.String getViolationDescription(short violationCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsatisfiableConstraint

public UnsatisfiableConstraint(short vcode,
                               java.lang.String violationDescription)
Method Detail

check

public java.util.List<java.lang.Short> check(Mutation mutation)
Specified by:
check in interface Constraint

getViolationDescription

public java.lang.String getViolationDescription(short violationCode)
Specified by:
getViolationDescription in interface Constraint


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.