struct Orc::Proto::BloomFilter

Included Modules

Defined in:

orc/definition/orc.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(num_hash_functions : UInt32 | Nil = nil, bitset : Array(UInt64) | Nil = nil, utf8bitset : Slice(UInt8) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def bitset : Array(UInt64) | Nil #

def bitset=(bitset : Array(UInt64) | Nil) #

def num_hash_functions : UInt32 | Nil #

def num_hash_functions=(num_hash_functions : UInt32 | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def utf8bitset : Slice(UInt8) | Nil #

def utf8bitset=(utf8bitset : Slice(UInt8) | Nil) #