Class DuplicateColumn
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Compute
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.DuplicateColumn
- All Implemented Interfaces:
Serializable
Represents a DuplicateColumn computation task for monitoring.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateColumn(String type, @NonNull Integer column) Construct a new instance of DuplicateColumn. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IComputeProcessor computeProcessor) Accepts a compute processor for further processing.copy()Creates a copy of the current compute operation.toString()Returns a formatted string representation of the compute operation, indicating its type.voidupdate(UnaryOperator<String> updater) Updates the compute operation using the provided updater function.
-
Constructor Details
-
DuplicateColumn
Construct a new instance of DuplicateColumn.- Parameters:
type- The type of the computation task.column- The column index to be duplicated.
-
-
Method Details
-
toString
Description copied from class:ComputeReturns a formatted string representation of the compute operation, indicating its type. -
copy
Description copied from class:ComputeCreates a copy of the current compute operation. -
update
Description copied from class:ComputeUpdates the compute operation using the provided updater function. -
accept
Description copied from class:ComputeAccepts a compute processor for further processing.
-