Class: Aerospike::CDT::HLLPolicy

Inherits:
Object
  • Object
show all
Defined in:
lib/aerospike/cdt/hll_policy.rb

Constant Summary collapse

DEFAULT =
HLLPolicy.new

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(write_flags: HLLWriteFlags::DEFAULT) ⇒ HLLPolicy

Returns a new instance of HLLPolicy.



26
27
28
# File 'lib/aerospike/cdt/hll_policy.rb', line 26

def initialize(write_flags: HLLWriteFlags::DEFAULT)
  @flags = write_flags
end

Instance Attribute Details

#flagsObject

Returns the value of attribute flags.



24
25
26
# File 'lib/aerospike/cdt/hll_policy.rb', line 24

def flags
  @flags
end