Package io.deephaven.api
Enum Class NaturalJoinType
- All Implemented Interfaces:
Serializable,Comparable<NaturalJoinType>,java.lang.constant.Constable
Specifies the type of natural join to perform, specifically how to handle duplicate and missing right hand table
rows.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThrow an error if a duplicate right hand table row is found.Match exactly one right hand table row; throw an error if there are zero or more than one matches.Match the first right hand table row and ignore later duplicates.Match the last right hand table row and ignore earlier duplicates. -
Method Summary
Modifier and TypeMethodDescriptionstatic NaturalJoinTypeReturns the enum constant of this class with the specified name.static NaturalJoinType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ERROR_ON_DUPLICATE
Throw an error if a duplicate right hand table row is found. This is the default behavior if not specified. -
FIRST_MATCH
Match the first right hand table row and ignore later duplicates. -
LAST_MATCH
Match the last right hand table row and ignore earlier duplicates. -
EXACTLY_ONE_MATCH
Match exactly one right hand table row; throw an error if there are zero or more than one matches.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-