struct

Orc::Proto::StringStatistics

Inherits Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {1 => {name: :minimum, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :maximum, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :sum, pb_type: :sint64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :lower_bound, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :upper_bound, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

new(buf : Protobuf::Buffer)
new(minimum : String | Nil = nil, maximum : String | Nil = nil, sum : Int64 | Nil = nil, lower_bound : String | Nil = nil, upper_bound : String | Nil = nil)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
lower_bound
lower_bound=(lower_bound : String | Nil)
maximum
maximum=(maximum : String | Nil)
minimum
minimum=(minimum : String | Nil)
sum
sum=(sum : Int64 | Nil)
to_protobuf(io : IO, embedded = false)
to_protobuf
upper_bound
upper_bound=(upper_bound : String | Nil)