code: public static <Key, Value, DistinctType> Aggregation<Key, Value, Set<DistinctType>> distinctValues() {
          AggType<Key, Value, Integer, DistinctType, Set<DistinctType>, Set<DistinctType>, Set<DistinctType>> aggType;
          aggType = new DistinctValuesAggregation<Key, Value, DistinctType>();
          return new AggregationAdapter<Key, Value, Set<DistinctType>>(aggType);
      }
docs: Returns an aggregation for selecting all distinct values.<br/>
  This aggregation is similar to: <pre>SELECT DISTINCT * FROM x</pre>
  
  @param <Key>          the input key type
  @param <Value>        the supplied value type
  @param <DistinctType> the type of all distinct values
  @return a {@link java.util.Set} containing all distinct values