All Implemented Interfaces:
Serializable

public class Prepend extends AbstractConcat
Represents a Prepend computation task for monitoring.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Prepend(String type, @NonNull Integer column, @NonNull String value)
    Construct a new instance of Prepend.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(IComputeProcessor computeProcessor)
    Accepts a compute processor for further processing.
    Creates a copy of the current compute operation.
    Returns a formatted string representation of the compute operation, indicating its type.

    Methods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.compute.AbstractConcat

    update

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Prepend

      public Prepend(String type, @NonNull @NonNull Integer column, @NonNull @NonNull String value)
      Construct a new instance of Prepend.
      Parameters:
      type - The type of the computation task.
      column - The column index used in the computation.
      value - The value to be concatenated.
  • Method Details

    • toString

      public String toString()
      Description copied from class: Compute
      Returns a formatted string representation of the compute operation, indicating its type.
      Overrides:
      toString in class AbstractConcat
      Returns:
      A string representation of the compute operation.
    • copy

      public Prepend copy()
      Description copied from class: Compute
      Creates a copy of the current compute operation.
      Specified by:
      copy in class Compute
      Returns:
      A new instance of the concrete compute operation.
    • accept

      public void accept(IComputeProcessor computeProcessor)
      Description copied from class: Compute
      Accepts a compute processor for further processing.
      Specified by:
      accept in class Compute
      Parameters:
      computeProcessor - The compute processor to accept.