W
- writable class typeJ
- java class typepublic class JavaWritablePair<W extends org.apache.hadoop.io.Writable,J> extends Object
Modifier and Type | Field and Description |
---|---|
static JavaWritablePair<org.apache.hadoop.io.BooleanWritable,Boolean> |
BOOLEAN_BOOLEAN_WRITABLE
Boolean,BooleanWritable
|
static JavaWritablePair<org.apache.hadoop.io.ByteWritable,Byte> |
BYTE_BYTE_WRITABLE
Byte,ByteWritable
|
static JavaWritablePair<org.apache.hadoop.io.IntWritable,Byte> |
BYTE_INT_WRITABLE
Byte,IntWritable
|
static JavaWritablePair<org.apache.hadoop.io.LongWritable,Byte> |
BYTE_LONG_WRITABLE
Byte,LongWritable
|
static JavaWritablePair<org.apache.hadoop.io.DoubleWritable,Double> |
DOUBLE_DOUBLE_WRITABLE
Double,DoubleWritable
|
static JavaWritablePair<org.apache.hadoop.io.FloatWritable,Double> |
DOUBLE_FLOAT_WRITABLE
Double,FloatWritable
|
static JavaWritablePair<org.apache.hadoop.io.DoubleWritable,Float> |
FLOAT_DOUBLE_WRITABLE
Float,DoubleWritable
|
static JavaWritablePair<org.apache.hadoop.io.FloatWritable,Float> |
FLOAT_FLOAT_WRITABLE
Float,FloatWritable
|
static JavaWritablePair<org.apache.hadoop.io.ByteWritable,Integer> |
INT_BYTE_WRITABLE
Integer,ByteWritable
|
static JavaWritablePair<org.apache.hadoop.io.IntWritable,Integer> |
INT_INT_WRITABLE
Integer,IntWritable
|
static JavaWritablePair<org.apache.hadoop.io.LongWritable,Integer> |
INT_LONG_WRITABLE
Integer,LongWritable
|
static JavaWritablePair<org.apache.hadoop.io.ByteWritable,Long> |
LONG_BYTE_WRITABLE
Long,ByteWritable
|
static JavaWritablePair<org.apache.hadoop.io.IntWritable,Long> |
LONG_INT_WRITABLE
Long,IntWritable
|
static JavaWritablePair<org.apache.hadoop.io.LongWritable,Long> |
LONG_LONG_WRITABLE
Long,LongWritable
|
static JavaWritablePair<org.apache.hadoop.io.ByteWritable,Short> |
SHORT_BYTE_WRITABLE
Short,ByteWritable
|
static JavaWritablePair<org.apache.hadoop.io.IntWritable,Short> |
SHORT_INT_WRITABLE
Short,IntWritable
|
static JavaWritablePair<org.apache.hadoop.io.LongWritable,Short> |
SHORT_LONG_WRITABLE
Short,LongWritable
|
Modifier and Type | Method and Description |
---|---|
static <W extends org.apache.hadoop.io.Writable,J> |
create(Class<W> writableClass,
Class<J> javaClass)
Create holder for classes
|
boolean |
equals(Object obj) |
Class<J> |
getJavaClass() |
Class<W> |
getWritableClass() |
int |
hashCode() |
String |
toString() |
public static final JavaWritablePair<org.apache.hadoop.io.BooleanWritable,Boolean> BOOLEAN_BOOLEAN_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.ByteWritable,Byte> BYTE_BYTE_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.IntWritable,Byte> BYTE_INT_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.LongWritable,Byte> BYTE_LONG_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.FloatWritable,Double> DOUBLE_FLOAT_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.DoubleWritable,Double> DOUBLE_DOUBLE_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.FloatWritable,Float> FLOAT_FLOAT_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.DoubleWritable,Float> FLOAT_DOUBLE_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.ByteWritable,Integer> INT_BYTE_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.IntWritable,Integer> INT_INT_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.LongWritable,Integer> INT_LONG_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.ByteWritable,Long> LONG_BYTE_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.IntWritable,Long> LONG_INT_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.LongWritable,Long> LONG_LONG_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.ByteWritable,Short> SHORT_BYTE_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.IntWritable,Short> SHORT_INT_WRITABLE
public static final JavaWritablePair<org.apache.hadoop.io.LongWritable,Short> SHORT_LONG_WRITABLE
public static <W extends org.apache.hadoop.io.Writable,J> JavaWritablePair<W,J> create(Class<W> writableClass, Class<J> javaClass)
W
- writable class typeJ
- java class typewritableClass
- writable classjavaClass
- java classCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.