Class MatchConfig
- All Implemented Interfaces:
Writeable
This class specifies how to match a field from the input data (the "left" side of the join) with a field in the lookup index (the "right" side). The interpretation of its properties depends on the type of join.
For simple field-based joins (e.g., ... ON field1, field2), this configuration
represents the right-side field (right.field). In this case, fieldName is the
name of the field in the lookup index used to build the query.
For expression-based joins (e.g., ... ON left_field > right_field), this
configuration represents the left-side field (left_field). In this case,
fieldName is the name of the field whose value is sent to the lookup node.
The channel identifies the position of this field's values within the internal
page sent to the lookup node.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Constructor Summary
ConstructorsConstructorDescriptionMatchConfig(String fieldName, int channel, DataType type) MatchConfig(String fieldName, Layout.ChannelAndType input) -
Method Summary
-
Constructor Details
-
MatchConfig
-
MatchConfig
-
MatchConfig
- Throws:
IOException
-
-
Method Details