struct Orc::Proto::BloomFilter
- Orc::Proto::BloomFilter
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
orc/definition/orc.pb.crConstant Summary
-
FIELDS =
{1 => {name: :num_hash_functions, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :bitset, pb_type: :fixed64, crystal_type: UInt64, cast_type: Array(UInt64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :utf8bitset, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : Protobuf::Buffer)
- .new(num_hash_functions : UInt32 | Nil = nil, bitset : Array(UInt64) | Nil = nil, utf8bitset : Slice(UInt8) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #bitset : Array(UInt64) | Nil
- #bitset=(bitset : Array(UInt64) | Nil)
- #num_hash_functions : UInt32 | Nil
- #num_hash_functions=(num_hash_functions : UInt32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #utf8bitset : Slice(UInt8) | Nil
- #utf8bitset=(utf8bitset : Slice(UInt8) | Nil)
Constructor Detail
def self.new(num_hash_functions : UInt32 | Nil = nil, bitset : Array(UInt64) | Nil = nil, utf8bitset : Slice(UInt8) | Nil = nil)
#