Record Class JdbcCrawlManager.JdbcDispatch

java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.JdbcCrawlManager.JdbcDispatch
Record Components:
triggerId - the connector's trigger UUID, also stamped as the crawl_id on every dispatched PipeStream
crawlName - the crawl-definition name the connector now has registered
Enclosing class:
JdbcCrawlManager

public static record JdbcCrawlManager.JdbcDispatch(String triggerId, String crawlName) extends Record
Result of JdbcCrawlManager.setupAndTrigger(String, String, String, JdbcSourceConfig): the connector's triggerId (also the crawl_id on every dispatched PipeStream) and the crawlName the connector now has registered.
  • Constructor Details

    • JdbcDispatch

      public JdbcDispatch(String triggerId, String crawlName)
      Creates an instance of a JdbcDispatch record class.
      Parameters:
      triggerId - the value for the triggerId record component
      crawlName - the value for the crawlName record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • triggerId

      public String triggerId()
      Returns the value of the triggerId record component.
      Returns:
      the value of the triggerId record component
    • crawlName

      public String crawlName()
      Returns the value of the crawlName record component.
      Returns:
      the value of the crawlName record component