Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Position

import type { Position } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

Position defines a position within a collection of data. The value can be either the end position, a key (used with ordered collections), a byte offset, or a record index.

interface Position {
byteOffset?: bigint;
concatPosition?: ConcatPosition;
end?: boolean;
key?: string;
recordIndex?: bigint;
shufflePosition?: string;
}

§Properties

§
byteOffset?: bigint
[src]

Position is a byte offset.

§
concatPosition?: ConcatPosition
[src]

CloudPosition is a concat position.

§
end?: boolean
[src]

Position is past all other positions. Also useful for the end position of an unbounded range.

§
key?: string
[src]

Position is a string key, ordered lexicographically.

§
recordIndex?: bigint
[src]

Position is a record index.

§
shufflePosition?: string
[src]

CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).