public enum LongWritableFunnel extends Enum<LongWritableFunnel> implements com.google.common.hash.Funnel<org.apache.hadoop.io.LongWritable>
Funnel
Enum Constant and Description |
---|
INSTANCE
singleton
|
Modifier and Type | Method and Description |
---|---|
void |
funnel(org.apache.hadoop.io.LongWritable w,
com.google.common.hash.PrimitiveSink into) |
static LongWritableFunnel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongWritableFunnel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LongWritableFunnel INSTANCE
public static LongWritableFunnel[] values()
for (LongWritableFunnel c : LongWritableFunnel.values()) System.out.println(c);
public static LongWritableFunnel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void funnel(org.apache.hadoop.io.LongWritable w, com.google.common.hash.PrimitiveSink into)
funnel
in interface com.google.common.hash.Funnel<org.apache.hadoop.io.LongWritable>
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.