Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter.
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
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String- (::String) — Required. Column name in BigQuery that used as filters.
#name=
def name=(value) -> ::String- value (::String) — Required. Column name in BigQuery that used as filters.
- (::String) — Required. Column name in BigQuery that used as filters.
#op
def op() -> ::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator- (::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator) — Optional. This MUST be specified for queries and must NOT be specified for database points.
#op=
def op=(value) -> ::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator- value (::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator) — Optional. This MUST be specified for queries and must NOT be specified for database points.
- (::Google::Cloud::AIPlatform::V1::NearestNeighborQuery::NumericFilter::Operator) — Optional. This MUST be specified for queries and must NOT be specified for database points.
#value_double
def value_double() -> ::Float-
(::Float) — double value type.
Note: The following fields are mutually exclusive:
value_double,value_int,value_float. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_double=
def value_double=(value) -> ::Float-
value (::Float) — double value type.
Note: The following fields are mutually exclusive:
value_double,value_int,value_float. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — double value type.
Note: The following fields are mutually exclusive:
value_double,value_int,value_float. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_float
def value_float() -> ::Float-
(::Float) — float value type.
Note: The following fields are mutually exclusive:
value_float,value_int,value_double. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_float=
def value_float=(value) -> ::Float-
value (::Float) — float value type.
Note: The following fields are mutually exclusive:
value_float,value_int,value_double. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — float value type.
Note: The following fields are mutually exclusive:
value_float,value_int,value_double. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_int
def value_int() -> ::Integer-
(::Integer) — int value type.
Note: The following fields are mutually exclusive:
value_int,value_float,value_double. If a field in that set is populated, all other fields in the set will automatically be cleared.
#value_int=
def value_int=(value) -> ::Integer-
value (::Integer) — int value type.
Note: The following fields are mutually exclusive:
value_int,value_float,value_double. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Integer) — int value type.
Note: The following fields are mutually exclusive:
value_int,value_float,value_double. If a field in that set is populated, all other fields in the set will automatically be cleared.