Class TableUnionSource
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.TableUnionSource
- All Implemented Interfaces:
Serializable
Represents a source that performs a union operation on multiple tables.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTableUnionSource(String type, List<Compute> computes, boolean forceSerialization, @NonNull List<String> tables, String key, ExecuteForEachEntryOf executeForEachEntryOf) Builder for creating instances ofTableUnionSource. -
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
-
TableUnionSource
public TableUnionSource(String type, List<Compute> computes, boolean forceSerialization, @NonNull @NonNull List<String> tables, String key, ExecuteForEachEntryOf executeForEachEntryOf) Builder for creating instances ofTableUnionSource.- Parameters:
type- The type of the source.computes- List of computations to be applied to the source.forceSerialization- Flag indicating whether to force serialization.tables- List of tables to be included in the union operation.key- The key associated with the source.executeForEachEntryOf- The execution context for each entry of the source.
-
-
Method Details