* @deprecated Use {@link #identity(String, Class, int)}.
*/
@Deprecated
@SuppressWarnings("unchecked")
public Builder identity(String name, int buckets) {
fieldPartitioners.add(new IdentityFieldPartitioner(name, String.class, buckets));
return this;
}