public class ColumnToClassMapping<K> extends Object
Constructor and Description |
---|
ColumnToClassMapping() |
ColumnToClassMapping(Map<String,String> objectStrings,
Class<? extends K> c) |
ColumnToClassMapping(Map<String,String> objectStrings,
Class<? extends K> c,
String context) |
Modifier and Type | Method and Description |
---|---|
protected void |
addObject(org.apache.hadoop.io.Text colf,
K obj) |
protected void |
addObject(org.apache.hadoop.io.Text colf,
org.apache.hadoop.io.Text colq,
K obj) |
K |
getObject(Key key) |
boolean |
isEmpty() |
public ColumnToClassMapping()
public ColumnToClassMapping(Map<String,String> objectStrings, Class<? extends K> c) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException
public ColumnToClassMapping(Map<String,String> objectStrings, Class<? extends K> c, String context) throws InstantiationException, IllegalAccessException, ClassNotFoundException, IOException
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.