IRM class

Ingest Resume Mark

Constructors

IRM(List<int> bytes)
factory

Properties

BYTES_COMMITTED → int
Source bytes accounted for by committed chunks.
no setter
bytesCommitted → int
no setter
CHUNK_BYTE_BUDGET → int
Byte budget the publisher reads per chunk. Records the ceiling the job actually ran under, which a host may have clamped below the configured one.
no setter
chunkByteBudget → int
no setter
CHUNKS_COMMITTED → int
Chunks durably committed by this job so far.
no setter
chunksCommitted → int
no setter
COMPLETED_AT → String?
RFC 3339 UTC fixed-millisecond timestamp at which the job reached COMPLETE.
no setter
completedAt → String?
no setter
CREATED_AT → String?
RFC 3339 UTC fixed-millisecond timestamp at which the job was created.
no setter
createdAt → String?
no setter
DECODE_CONTEXT → IRMDecodeContext?
Everything needed to decode the chunk at NEXT_OFFSET. REQUIRED in practice whenever NEXT_OFFSET is past the source's own header; a consumer that finds it absent there restarts from offset 0 rather than decoding blind.
no setter
decodeContext → IRMDecodeContext?
no setter
EXPIRES_AT → String?
RFC 3339 UTC fixed-millisecond timestamp after which a consumer treats the mark as stale and re-validates the source before resuming. Empty means the publisher states no expiry.
no setter
expiresAt → String?
no setter
FAULT → IRMFault?
The last unrecovered error, when there is one.
no setter
hashCode → int
The hash code for this object.
no setterinherited
INGESTOR_ID → String?
Reverse-DNS identifier of the ingest module or flow that owns the job, so two pipelines reading one provider do not share a resume point.
no setter
ingestorId → String?
no setter
JOB_ID → String?
Publisher-stable identifier of the ingest job. Together with the publishing key it is the job's identity across every mark it emits.
no setter
jobId → String?
no setter
LAST_CHUNK → IRMChunk?
The chunk this mark was advanced from — the last one durably committed.
no setter
lastChunk → IRMChunk?
no setter
MERGE_POLICY → String?
Deduplication or merge policy the job applied, verbatim.
no setter
mergePolicy → String?
no setter
NEXT_CHUNK_INDEX → int
Zero-based index of the next chunk to read. With PART_INDEX addressing this is the only position.
no setter
NEXT_OFFSET → int
Byte offset at which the next read begins, in the SOURCE's own byte stream: the compressed stream when DECODE_CONTEXT.COMPRESSION is non-empty, in which case it is a record boundary only in company with the decoder state, window and partial record. On an uncompressed source it is ALWAYS a complete-record boundary, corrected backwards from the previous chunk's byte budget. 0 is a valid value and means the job has committed nothing yet.
no setter
nextChunkIndex → int
no setter
nextOffset → int
no setter
NOTES → String?
Publisher note about this job; never a substitute for a field.
no setter
PROVIDER_ID → String?
Publisher-stable identifier of the data provider being read, verbatim. Publisher data: it may name a real provider.
no setter
providerId → String?
no setter
RANGE_MODE → irmRangeMode
How byte positions in this mark are addressed.
no setter
rangeMode → irmRangeMode
no setter
RECONCILE_MODE → String?
Reconciliation mode the storage lane was called with, verbatim, e.g. append. A chunked job never reconciles per batch: reconciling would delete every earlier chunk as the next one arrived.
no setter
reconcileMode → String?
no setter
RECORDS_COMMITTED → int
Records durably committed by this job so far, across every chunk.
no setter
recordsCommitted → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
SEQUENCE → int
Monotonic version of this mark within JOB_ID. Highest wins per publishing key. Never reused, never decremented.
no setter
SOURCE → IRMSource?
The source object and its validators.
no setter
STARTED_AT → String?
RFC 3339 UTC fixed-millisecond timestamp at which the first chunk was read.
no setter
startedAt → String?
no setter
STATE → irmJobState
Lifecycle of the job.
no setter
TAGS → List<String>?
namespace:value facets, sorted and deduplicated. See TAG GRAMMAR above.
no setter
TARGET_STANDARD → String?
Four-character standard code of the records this job writes, $ included, e.g. $TBS. Never a union ordinal.
no setter
targetStandard → String?
no setter
UPDATED_AT → String?
RFC 3339 UTC fixed-millisecond timestamp at which this mark was published. With JOB_ID and SEQUENCE this is the version key; SEQUENCE breaks ties.
no setter
updatedAt → String?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

reader → const Reader<IRM>