Class RowSampler

  • All Implemented Interfaces:

    public class RowSampler
    extends AbstractHashSampler
    Builds a sample based on entire rows. If a row is selected for the sample, then all of its columns will be included.

    To determine what options are valid for hashing see AbstractHashSampler. This class offers no addition options, it always hashes on the row.

    To configure Accumulo to generate sample data on one thousandth of the rows, the following SamplerConfiguration could be created and used to configure a table.

     new SamplerConfiguration(RowSampler.class.getName()).setOptions(
    • Constructor Detail

      • RowSampler

        public RowSampler()