Package io.prestosql.metadata
Enum SignatureBinder.RelationshipType
- java.lang.Object
-
- java.lang.Enum<SignatureBinder.RelationshipType>
-
- io.prestosql.metadata.SignatureBinder.RelationshipType
-
- All Implemented Interfaces:
Serializable
,Comparable<SignatureBinder.RelationshipType>
- Enclosing class:
- SignatureBinder
public static enum SignatureBinder.RelationshipType extends Enum<SignatureBinder.RelationshipType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXACT
EXPLICIT_COERCION_FROM
EXPLICIT_COERCION_TO
IMPLICIT_COERCION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SignatureBinder.RelationshipType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SignatureBinder.RelationshipType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXACT
public static final SignatureBinder.RelationshipType EXACT
-
IMPLICIT_COERCION
public static final SignatureBinder.RelationshipType IMPLICIT_COERCION
-
EXPLICIT_COERCION_TO
public static final SignatureBinder.RelationshipType EXPLICIT_COERCION_TO
-
EXPLICIT_COERCION_FROM
public static final SignatureBinder.RelationshipType EXPLICIT_COERCION_FROM
-
-
Method Detail
-
values
public static SignatureBinder.RelationshipType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SignatureBinder.RelationshipType c : SignatureBinder.RelationshipType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureBinder.RelationshipType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-