Package 

Class Constraint

  • All Implemented Interfaces:

    
    public class Constraint
    
                        
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Any> T visit(ConstraintVisitor<T> visitor)
      final Constraint replaceColumns(Map<String, String> columns) Allows creating a constraint which is made from the current one but with replaced column names (if any).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • replaceColumns

         final Constraint replaceColumns(Map<String, String> columns)

        Allows creating a constraint which is made from the current one but with replaced column names (if any).

        For example, suppose that we have a constraint like != a initially and call this method with mapOf("a" to "x"). Resulting constraint would be != x