Class: Turbopuffer::Models::NamespaceMultiQueryResponse::Result
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(aggregation_groups: nil, aggregations: nil, rows: nil) ⇒ Object
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# File 'lib/turbopuffer/models/namespace_multi_query_response.rb', line 34
class Result < Turbopuffer::Internal::Type::BaseModel
optional :aggregation_groups,
Turbopuffer::Internal::Type::ArrayOf[Turbopuffer::Internal::Type::HashOf[Turbopuffer::Internal::Type::Unknown]]
optional :aggregations, Turbopuffer::Internal::Type::HashOf[Turbopuffer::Internal::Type::Unknown]
optional :rows, -> { Turbopuffer::Internal::Type::ArrayOf[Turbopuffer::Row] }
end
|
Instance Attribute Details
#aggregation_groups ⇒ Array<Hash{Symbol=>Object}>?
38
39
|
# File 'lib/turbopuffer/models/namespace_multi_query_response.rb', line 38
optional :aggregation_groups,
Turbopuffer::Internal::Type::ArrayOf[Turbopuffer::Internal::Type::HashOf[Turbopuffer::Internal::Type::Unknown]]
|
#aggregations ⇒ Hash{Symbol=>Object}?
44
|
# File 'lib/turbopuffer/models/namespace_multi_query_response.rb', line 44
optional :aggregations, Turbopuffer::Internal::Type::HashOf[Turbopuffer::Internal::Type::Unknown]
|
49
|
# File 'lib/turbopuffer/models/namespace_multi_query_response.rb', line 49
optional :rows, -> { Turbopuffer::Internal::Type::ArrayOf[Turbopuffer::Row] }
|