Class TypeVariableConstraint

java.lang.Object
io.trino.metadata.TypeVariableConstraint

public class TypeVariableConstraint extends Object
  • Constructor Details

    • TypeVariableConstraint

      public TypeVariableConstraint(String name, boolean comparableRequired, boolean orderableRequired, @Nullable String variadicBound, Set<TypeSignature> castableTo, Set<TypeSignature> castableFrom)
  • Method Details

    • getName

      public String getName()
    • isComparableRequired

      public boolean isComparableRequired()
    • isOrderableRequired

      public boolean isOrderableRequired()
    • getVariadicBound

      public String getVariadicBound()
    • getCastableTo

      public Set<TypeSignature> getCastableTo()
    • getCastableFrom

      public Set<TypeSignature> getCastableFrom()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object