Class Substring
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Compute
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.Substring
- All Implemented Interfaces:
Serializable
Represents a Substring computation task for monitoring.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IComputeProcessor computeProcessor) Accepts a compute processor for further processing.copy()Copy the current instancetoString()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
-
Substring
public Substring(String type, @NonNull @NonNull Integer column, @NonNull @NonNull String start, @NonNull @NonNull String length) Construct a new instance of Substring.- Parameters:
type- The type of the computation task.column- The column index used in the computation.start- The starting position for the Substring operation.length- The length of the substring to extract.
-
-
Method Details
-
copy
Copy the current instance -
toString
Description copied from class:ComputeReturns a formatted string representation of the compute operation, indicating its type. -
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.
-