View Source GoogleApi.BigQuery.V2.Model.ScriptStackFrame (google_api_big_query v0.79.0)

Represents the location of the statement/expression being evaluated. Line and column numbers are defined as follows: - Line and column numbers start with one. That is, line 1 column 1 denotes the start of the script. - When inside a stored procedure, all line/column numbers are relative to the procedure body, not the script in which the procedure was defined. - Start/end positions exclude leading/trailing comments and whitespace. The end position always ends with a ";", when present. - Multi-byte Unicode characters are treated as just one column. - If the original script (or procedure definition) contains TAB characters, a tab "snaps" the indentation forward to the nearest multiple of 8 characters, plus 1. For example, a TAB on column 1, 2, 3, 4, 5, 6 , or 8 will advance the next character to column 9. A TAB on column 9, 10, 11, 12, 13, 14, 15, or 16 will advance the next character to column 17.

Attributes

  • endColumn (type: integer(), default: nil) - Output only. One-based end column.
  • endLine (type: integer(), default: nil) - Output only. One-based end line.
  • procedureId (type: String.t, default: nil) - Output only. Name of the active procedure, empty if in a top-level script.
  • startColumn (type: integer(), default: nil) - Output only. One-based start column.
  • startLine (type: integer(), default: nil) - Output only. One-based start line.
  • text (type: String.t, default: nil) - Output only. Text of the current statement/expression.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BigQuery.V2.Model.ScriptStackFrame{
  endColumn: integer() | nil,
  endLine: integer() | nil,
  procedureId: String.t() | nil,
  startColumn: integer() | nil,
  startLine: integer() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.