Class Extract
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Compute
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Extract
- All Implemented Interfaces:
Serializable
Represents an Extract computation task for monitoring.
- See Also:
-
Constructor Summary
Constructors -
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
-
Extract
public Extract(String type, @NonNull @NonNull Integer column, @NonNull @NonNull Integer subColumn, String subSeparators) Construct a new instance of Extract.- Parameters:
type- The type of the computation task.column- The main column from which to extract values.subColumn- The sub-column (position) from which to extract values within the main column.subSeparators- The sub-separators used to identify sub-columns within the main column.
-
-
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.
-