Class TableJoinSource
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.TableJoinSource
- All Implemented Interfaces:
Serializable
Represents a source that performs a join operation on two tables.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTableJoinSource(String type, List<Compute> computes, boolean forceSerialization, String leftTable, String rightTable, Integer leftKeyColumn, Integer rightKeyColumn, String defaultRightLine, String keyType, String key, ExecuteForEachEntryOf executeForEachEntryOf) Builder for creating instances ofTableJoinSource. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ISourceProcessor sourceProcessor) Accepts a source processor to perform processing on the source.copy()Creates a copy of the source.toString()voidupdate(UnaryOperator<String> updater) Updates the source based on the provided updater function.Methods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
getEntryConcatMethod, getExecuteForEachEntryOf, getSleepExecuteForEachEntryOf, isExecuteForEachEntryOf
-
Constructor Details
-
TableJoinSource
public TableJoinSource(String type, List<Compute> computes, boolean forceSerialization, String leftTable, String rightTable, Integer leftKeyColumn, Integer rightKeyColumn, String defaultRightLine, String keyType, String key, ExecuteForEachEntryOf executeForEachEntryOf) Builder for creating instances ofTableJoinSource.- Parameters:
type- The type of the source.computes- List of computations to be applied to the source.forceSerialization- Flag indicating whether to force serialization.leftTable- The name of the left table to join.rightTable- The name of the right table to join.leftKeyColumn- The column index from the left table to use as the key for the join.rightKeyColumn- The column index from the right table to use as the key for the join.defaultRightLine- The default line for right table entries when there is no match.keyType- The type of key used for the join.key- The key associated with the source.executeForEachEntryOf- The execution context for each entry of the source.
-
-
Method Details