Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Orc::Proto::BucketStatistics
Inherits
Protobuf::Message
<
Struct
<
Value
<
Object
Constants
FIELDS = {1 => {name: :count, pb_type: :uint64, crystal_type:
UInt64
, cast_type:
Array
(
UInt64
)?, native: true, optional: true, repeated: true, default: nil, packed: true}} of
Int32
=>
HashLiteral
(
Symbol
,
ASTNode
)
Constructors
new
(buf :
Protobuf::Buffer
)
new
(count :
Array
(
UInt64
) |
Nil
= nil)
Class methods
from_protobuf
(io)
Instance methods
[]
(key :
String
)
count
count=
(count :
Array
(
UInt64
) |
Nil
)
to_protobuf
(io :
IO
, embedded = false)
to_protobuf