Record Class PipelineCrawlerResource.PipelineCrawlPayload.SingleDocPayload
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.PipelineCrawlerResource.PipelineCrawlPayload.SingleDocPayload
- Record Components:
sampleNames- sample document names; non-blank entries are forwarded, though the dispatcher reads only the first elementintakeMode- how the sample enters connector-intake: "grpc" for the in-memory unary upload path, otherwise (incl. null/"http") HTTP raw stream
- Enclosing class:
PipelineCrawlerResource.PipelineCrawlPayload
public static record PipelineCrawlerResource.PipelineCrawlPayload.SingleDocPayload(List<String> sampleNames, String intakeMode)
extends Record
SINGLE_DOC source payload. Both fields optional — empty payload
means "use the bundled default sample (Attention Is All You Need
PDF) with default intake mode".
sampleNames is read for
its first element only by the dispatcher.-
Constructor Summary
ConstructorsConstructorDescriptionSingleDocPayload(List<String> sampleNames, String intakeMode) Creates an instance of aSingleDocPayloadrecord 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.Returns the value of theintakeModerecord component.Returns the value of thesampleNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SingleDocPayload
Creates an instance of aSingleDocPayloadrecord class.- Parameters:
sampleNames- the value for thesampleNamesrecord componentintakeMode- the value for theintakeModerecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
sampleNames
Returns the value of thesampleNamesrecord component.- Returns:
- the value of the
sampleNamesrecord component
-
intakeMode
Returns the value of theintakeModerecord component.- Returns:
- the value of the
intakeModerecord component
-