Class ProfilerImpl

java.lang.Object
org.apache.calcite.profile.ProfilerImpl
All Implemented Interfaces:
Profiler

public class ProfilerImpl extends Object implements Profiler
Implementation of Profiler that only investigates "interesting" combinations of columns.
  • Method Details

    • builder

      public static ProfilerImpl.Builder builder()
    • profile

      public Profiler.Profile profile(Iterable<List<Comparable>> rows, List<Profiler.Column> columns, Collection<ImmutableBitSet> initialGroups)
      Description copied from interface: Profiler
      Creates a profile of a data set.
      Specified by:
      profile in interface Profiler
      Parameters:
      rows - List of rows. Can be iterated over more than once (maybe not cheaply)
      columns - Column definitions
      initialGroups - List of combinations of columns that should be profiled early, because they may be interesting
      Returns:
      A profile describing relationships within the data set