Package com.cloudera.cdk.data.partition

Examples of com.cloudera.cdk.data.partition.IdentityFieldPartitioner


     * @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;
    }
View Full Code Here


     * @see IdentityFieldPartitioner
     * @since 0.8.0
     */
    @SuppressWarnings("unchecked")
    public <S> Builder identity(String name, Class<S> type, int buckets) {
      fieldPartitioners.add(new IdentityFieldPartitioner(name, type, buckets));
      return this;
    }
View Full Code Here

TOP

Related Classes of com.cloudera.cdk.data.partition.IdentityFieldPartitioner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.