Record Class S3CrawlManager.S3Dispatch
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.S3CrawlManager.S3Dispatch
- Record Components:
requestId- the connector's request id / crawl idempotency keyhydratedCount- the number of sample docs uploaded during hydration (0 when hydration was skipped)
- Enclosing class:
S3CrawlManager
Result of
S3CrawlManager.hydrateAndTrigger(String, String, String, S3SourceConfig): the connector's request id (the
crawl's idempotency key) and how many docs were uploaded during
hydration (0 when hydration was skipped).-
Constructor Summary
ConstructorsConstructorDescriptionS3Dispatch(String requestId, int hydratedCount) Creates an instance of aS3Dispatchrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thehydratedCountrecord component.Returns the value of therequestIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
S3Dispatch
Creates an instance of aS3Dispatchrecord class.- Parameters:
requestId- the value for therequestIdrecord componenthydratedCount- the value for thehydratedCountrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
requestId
-
hydratedCount
public int hydratedCount()Returns the value of thehydratedCountrecord component.- Returns:
- the value of the
hydratedCountrecord component
-