Class: Arrow::ArrayStatistics

Inherits:
Object
  • Object
show all
Defined in:
lib/arrow/array-statistics.rb

Instance Method Summary collapse

Instance Method Details

#distinct_countObject



22
23
24
25
26
27
28
29
# File 'lib/arrow/array-statistics.rb', line 22

def distinct_count
  return nil unless has_distinct_count?
  if distinct_count_exact?
    distinct_count_exact
  else
    distinct_count_approximate
  end
end

#distinct_count_rawObject



21
# File 'lib/arrow/array-statistics.rb', line 21

alias_method :distinct_count_raw, :distinct_count