public class WritableWrappers extends Object
Modifier and Type | Method and Description |
---|---|
static <W extends org.apache.hadoop.io.Writable,J> |
lookup(Class<W> writableClass,
Class<J> javaClass)
Lookup type converter
|
static <W extends org.apache.hadoop.io.Writable,J> |
lookup(JavaWritablePair<W,J> classes)
Lookup type converter
|
public static <W extends org.apache.hadoop.io.Writable,J> WritableWrapper<W,J> lookup(Class<W> writableClass, Class<J> javaClass)
W
- Writable typeJ
- Java typewritableClass
- class of WritablejavaClass
- class of Java typeWritableWrapper
public static <W extends org.apache.hadoop.io.Writable,J> WritableWrapper<W,J> lookup(JavaWritablePair<W,J> classes)
W
- Writable typeJ
- Java typeclasses
- JavaAndWritableClassesWritableWrapper
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.