Method: Aerospike::PartitionFilter.by_range

Defined in:
lib/aerospike/query/partition_filter.rb

.by_range(partition_begin, count) ⇒ Object

Creates a partition filter by partition range. begin partition id is between 0 - 4095 count is the number of partitions, in the range of 1 - 4096 inclusive.


40
41
42
# File 'lib/aerospike/query/partition_filter.rb', line 40

def self.by_range(partition_begin, count)
  PartitionFilter.new(partition_begin, count)
end