/** * Set the buckets to use to sort the accumulo data. A row of data should be in the oldest bucket possible. The buckets will be reversed sorted. If an null * or empty list is passed in it will be ignored. Entries less than two will be ignored. * * @param unsorted * - The int array that holds the day buckets */ public void setBuckets(Integer[] unsorted) { if ((unsorted != null) && (unsorted.length > 0)) { List<Integer> tmp = sortAndReverseUnsortedBuckets(unsorted); filterBuckets(tmp); } }