View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter (google_api_ai_platform v0.24.0)

Numeric filter is used to search a subset of the entities by using boolean rules on numeric columns. For example: Database Point 0: {name: "a" value_int: 42} {name: "b" value_float: 1.0} Database Point 1: {name: "a" value_int: 10} {name: "b" value_float: 2.0} Database Point 2: {name: "a" value_int: -1} {name: "b" value_float: 3.0} Query: {name: "a" value_int: 12 operator: LESS} // Matches Point 1, 2 {name: "b" value_float: 2.0 operator: EQUAL} // Matches Point 1

Attributes

  • name (type: String.t, default: nil) - Required. Column name in BigQuery that used as filters.
  • op (type: String.t, default: nil) - Optional. This MUST be specified for queries and must NOT be specified for database points.
  • valueDouble (type: float(), default: nil) - double value type.
  • valueFloat (type: number(), default: nil) - float value type.
  • valueInt (type: String.t, default: nil) - int value type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NearestNeighborQueryNumericFilter{
    name: String.t() | nil,
    op: String.t() | nil,
    valueDouble: float() | nil,
    valueFloat: number() | nil,
    valueInt: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.