Module: Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod

Defined in:
proto_docs/google/cloud/visionai/v1/warehouse.rb

Overview

When one result has multiple values with the same key, specify which value is used to sort. By default, AGGREGATE_METHOD_LARGEST is used when results are sorted in decreasing order, AGGREGATE_METHOD_SMALLEST is used when results are sorted in incresing order.

Constant Summary collapse

AGGREGATE_METHOD_UNSPECIFIED =

The unspecified aggregate method will be overwritten as mentioned above.

0
AGGREGATE_METHOD_LARGEST =

Take the (lexicographical or numerical) largest value to sort.

1
AGGREGATE_METHOD_SMALLEST =

Take the (lexicographical or numerical) smallest value to sort.

2