Package com.darkcollective.relix.plan
Enum Class PhysicalNode.JoinAlgorithm
- All Implemented Interfaces:
Serializable,Comparable<PhysicalNode.JoinAlgorithm>,Constable
- Enclosing interface:
PhysicalNode
How a join is executed.
HASH— builds a hash index on the build side, probes with the stream side. O(build-side) memory, O(1) probe per row.NESTED_LOOP— nested iteration; used when no equi-join key is available. O(1) memory but O(left × right) time.MERGE— sort-merge join; requires both inputs sorted on the join keys (enforced by the planner via insertedPhysicalNode.Sortnodes). O(1) memory once inputs are in order; supports early termination.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PhysicalNode.JoinAlgorithmReturns the enum constant of this class with the specified name.static PhysicalNode.JoinAlgorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HASH
-
NESTED_LOOP
-
MERGE
-
-
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
-