Package io.prestosql.metadata
Class TypeVariableConstraint
- java.lang.Object
-
- io.prestosql.metadata.TypeVariableConstraint
-
public class TypeVariableConstraint extends Object
-
-
Constructor Summary
Constructors Constructor Description TypeVariableConstraint(String name, boolean comparableRequired, boolean orderableRequired, String variadicBound, Set<TypeSignature> castableTo, Set<TypeSignature> castableFrom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Set<TypeSignature>
getCastableFrom()
Set<TypeSignature>
getCastableTo()
String
getName()
String
getVariadicBound()
int
hashCode()
boolean
isComparableRequired()
boolean
isOrderableRequired()
String
toString()
-
-
-
Constructor Detail
-
TypeVariableConstraint
public TypeVariableConstraint(String name, boolean comparableRequired, boolean orderableRequired, @Nullable String variadicBound, Set<TypeSignature> castableTo, Set<TypeSignature> castableFrom)
-
-
Method Detail
-
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()
-
-