View Source GoogleApi.Dataflow.V1b3.Model.Position (google_api_dataflow v0.46.1)

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.

Attributes

  • byteOffset (type: String.t, default: nil) - Position is a byte offset.
  • concatPosition (type: GoogleApi.Dataflow.V1b3.Model.ConcatPosition.t, default: nil) - CloudPosition is a concat position.
  • end (type: boolean(), default: nil) - Position is past all other positions. Also useful for the end position of an unbounded range.
  • key (type: String.t, default: nil) - Position is a string key, ordered lexicographically.
  • recordIndex (type: String.t, default: nil) - Position is a record index.
  • shufflePosition (type: String.t, default: nil) - CloudPosition is a base64 encoded BatchShufflePosition (with FIXED sharding).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataflow.V1b3.Model.Position{
  byteOffset: String.t() | nil,
  concatPosition: GoogleApi.Dataflow.V1b3.Model.ConcatPosition.t() | nil,
  end: boolean() | nil,
  key: String.t() | nil,
  recordIndex: String.t() | nil,
  shufflePosition: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.