Class: Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Option for one data schema key.
Defined Under Namespace
Modules: AggregateMethod
Instance Attribute Summary collapse
-
#aggregate_method ⇒ ::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod
Aggregate method for the current data schema key.
-
#data_schema_key ⇒ ::String
The data used to sort.
-
#sort_decreasing ⇒ ::Boolean
Whether to sort in decreasing order or increasing order.
Instance Attribute Details
#aggregate_method ⇒ ::Google::Cloud::VisionAI::V1::SchemaKeySortingStrategy::Option::AggregateMethod
Returns Aggregate method for the current data schema key.
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2773 class Option include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. module AggregateMethod # The unspecified aggregate method will be overwritten as mentioned # above. AGGREGATE_METHOD_UNSPECIFIED = 0 # Take the (lexicographical or numerical) largest value to sort. AGGREGATE_METHOD_LARGEST = 1 # Take the (lexicographical or numerical) smallest value to sort. AGGREGATE_METHOD_SMALLEST = 2 end end |
#data_schema_key ⇒ ::String
Returns The data used to sort.
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2773 class Option include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. module AggregateMethod # The unspecified aggregate method will be overwritten as mentioned # above. AGGREGATE_METHOD_UNSPECIFIED = 0 # Take the (lexicographical or numerical) largest value to sort. AGGREGATE_METHOD_LARGEST = 1 # Take the (lexicographical or numerical) smallest value to sort. AGGREGATE_METHOD_SMALLEST = 2 end end |
#sort_decreasing ⇒ ::Boolean
Returns Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order.
2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2773 class Option include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. module AggregateMethod # The unspecified aggregate method will be overwritten as mentioned # above. AGGREGATE_METHOD_UNSPECIFIED = 0 # Take the (lexicographical or numerical) largest value to sort. AGGREGATE_METHOD_LARGEST = 1 # Take the (lexicographical or numerical) smallest value to sort. AGGREGATE_METHOD_SMALLEST = 2 end end |