Package apoc.meta

Class SampleMetaConfig

java.lang.Object
apoc.meta.SampleMetaConfig

public class SampleMetaConfig extends Object
  • Constructor Details

    • SampleMetaConfig

      public SampleMetaConfig(Map<String,Object> config, Boolean shouldSampleByDefault)
      - sample: a long, i.e. "1 in (SAMPLE)". If set to 1000 this means that every 1000th node will be examined. It does **not** mean that a total of 1000 nodes will be sampled. - maxRels: the maximum number of relationships to look at per Node Label.
    • SampleMetaConfig

      public SampleMetaConfig(Map<String,Object> config)
  • Method Details

    • getSample

      public long getSample()
    • getMaxRels

      public long getMaxRels()