Record Class PipelineCrawlerResource.PipelineCrawlPayload
java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.pipelinecrawl.PipelineCrawlerResource.PipelineCrawlPayload
- Record Components:
source- the source type: "JDBC", "S3" or "SINGLE_DOC"steps- the ordered pipeline steps, e.g. ["CHUNKER", "EMBEDDER", ...]observeSteps- subset ofstepsto put in rich (observed) modepersistSteps- subset ofstepswhose input body the engine retains for replayedgeTransports- one transport per main-flow edge in canonical order ("GRPC" | "KAFKA" | "REDIS"); size must equal the number of edges produced after dependency cascade and JDBC parser-stripaccountId- optional account override (the intake account)skipCleanup- when true, keep everything after the run instead of ninja-cleaningretainIndex- when true, keep only the OS indices and their IndexPlan after the run; ignored whenskipCleanupis setparserConfig- parser node custom_config, authored verbatim onto the temporary graph's parser node; shape matches the parser's registered ParserConfig schemaseparateIntakePipeline- when true, provision two accounts — datasource/intake underaccountIdand the pipeline graph under a separate clusterpipelineAccountId- the separate pipeline-graph account whenseparateIntakePipelineis set; minted when absentpollingTimeoutSeconds- optional override for the run polling timeout, in secondskafkaPartitions- optional override for the number of Kafka partitionsjdbc- JDBC-specific config (only meaningful whensourceis "JDBC")singleDoc- SINGLE_DOC-specific config (only meaningful whensourceis "SINGLE_DOC")s3- S3-specific config (only meaningful whensourceis "S3")
- Enclosing class:
PipelineCrawlerResource
public static record PipelineCrawlerResource.PipelineCrawlPayload(String source, List<String> steps, List<String> observeSteps, List<String> persistSteps, List<String> edgeTransports, String accountId, boolean skipCleanup, boolean retainIndex, Map<String,Object> parserConfig, Boolean separateIntakePipeline, String pipelineAccountId, Integer pollingTimeoutSeconds, Integer kafkaPartitions, PipelineCrawlerResource.PipelineCrawlPayload.JdbcPayload jdbc, PipelineCrawlerResource.PipelineCrawlPayload.SingleDocPayload singleDoc, PipelineCrawlerResource.PipelineCrawlPayload.S3Payload s3)
extends Record
FE-facing payload. Compact JSON shape — mirrors the proto fields the
Pipeline tab cares about, with optional source-specific blobs we
forward verbatim. Keeps the FE free of full-proto JSON serialization.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordJDBC source payload.static final recordS3 source payload.static final recordSINGLE_DOC source payload. -
Constructor Summary
ConstructorsConstructorDescriptionPipelineCrawlPayload(String source, List<String> steps, List<String> observeSteps, List<String> persistSteps, List<String> edgeTransports, String accountId, boolean skipCleanup, boolean retainIndex, Map<String, Object> parserConfig, Boolean separateIntakePipeline, String pipelineAccountId, Integer pollingTimeoutSeconds, Integer kafkaPartitions, PipelineCrawlerResource.PipelineCrawlPayload.JdbcPayload jdbc, PipelineCrawlerResource.PipelineCrawlPayload.SingleDocPayload singleDoc, PipelineCrawlerResource.PipelineCrawlPayload.S3Payload s3) Creates an instance of aPipelineCrawlPayloadrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.Returns the value of theedgeTransportsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.jdbc()Returns the value of thejdbcrecord component.Returns the value of thekafkaPartitionsrecord component.Returns the value of theobserveStepsrecord component.Returns the value of theparserConfigrecord component.Returns the value of thepersistStepsrecord component.Returns the value of thepipelineAccountIdrecord component.Returns the value of thepollingTimeoutSecondsrecord component.booleanReturns the value of theretainIndexrecord component.s3()Returns the value of thes3record component.Returns the value of theseparateIntakePipelinerecord component.Returns the value of thesingleDocrecord component.booleanReturns the value of theskipCleanuprecord component.source()Returns the value of thesourcerecord component.steps()Returns the value of thestepsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PipelineCrawlPayload
public PipelineCrawlPayload(String source, List<String> steps, List<String> observeSteps, List<String> persistSteps, List<String> edgeTransports, String accountId, boolean skipCleanup, boolean retainIndex, Map<String, Object> parserConfig, Boolean separateIntakePipeline, String pipelineAccountId, Integer pollingTimeoutSeconds, Integer kafkaPartitions, PipelineCrawlerResource.PipelineCrawlPayload.JdbcPayload jdbc, PipelineCrawlerResource.PipelineCrawlPayload.SingleDocPayload singleDoc, PipelineCrawlerResource.PipelineCrawlPayload.S3Payload s3) Creates an instance of aPipelineCrawlPayloadrecord class.- Parameters:
source- the value for thesourcerecord componentsteps- the value for thestepsrecord componentobserveSteps- the value for theobserveStepsrecord componentpersistSteps- the value for thepersistStepsrecord componentedgeTransports- the value for theedgeTransportsrecord componentaccountId- the value for theaccountIdrecord componentskipCleanup- the value for theskipCleanuprecord componentretainIndex- the value for theretainIndexrecord componentparserConfig- the value for theparserConfigrecord componentseparateIntakePipeline- the value for theseparateIntakePipelinerecord componentpipelineAccountId- the value for thepipelineAccountIdrecord componentpollingTimeoutSeconds- the value for thepollingTimeoutSecondsrecord componentkafkaPartitions- the value for thekafkaPartitionsrecord componentjdbc- the value for thejdbcrecord componentsingleDoc- the value for thesingleDocrecord components3- the value for thes3record 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. -
source
-
steps
-
observeSteps
Returns the value of theobserveStepsrecord component.- Returns:
- the value of the
observeStepsrecord component
-
persistSteps
Returns the value of thepersistStepsrecord component.- Returns:
- the value of the
persistStepsrecord component
-
edgeTransports
Returns the value of theedgeTransportsrecord component.- Returns:
- the value of the
edgeTransportsrecord component
-
accountId
-
skipCleanup
public boolean skipCleanup()Returns the value of theskipCleanuprecord component.- Returns:
- the value of the
skipCleanuprecord component
-
retainIndex
public boolean retainIndex()Returns the value of theretainIndexrecord component.- Returns:
- the value of the
retainIndexrecord component
-
parserConfig
Returns the value of theparserConfigrecord component.- Returns:
- the value of the
parserConfigrecord component
-
separateIntakePipeline
Returns the value of theseparateIntakePipelinerecord component.- Returns:
- the value of the
separateIntakePipelinerecord component
-
pipelineAccountId
Returns the value of thepipelineAccountIdrecord component.- Returns:
- the value of the
pipelineAccountIdrecord component
-
pollingTimeoutSeconds
Returns the value of thepollingTimeoutSecondsrecord component.- Returns:
- the value of the
pollingTimeoutSecondsrecord component
-
kafkaPartitions
Returns the value of thekafkaPartitionsrecord component.- Returns:
- the value of the
kafkaPartitionsrecord component
-
jdbc
-
singleDoc
-
s3
-