public class IdentifierResolver extends Object
限定符和类型 | 字段和说明 |
---|---|
static String |
RAW_BYTES_ID |
static String |
TEXT_ID |
static String |
TYPED_BYTES_ID |
构造器和说明 |
---|
IdentifierResolver() |
限定符和类型 | 方法和说明 |
---|---|
Class<? extends InputWriter> |
getInputWriterClass()
Returns the resolved
InputWriter class. |
Class |
getOutputKeyClass()
Returns the resolved output key class.
|
Class<? extends OutputReader> |
getOutputReaderClass()
Returns the resolved
OutputReader class. |
Class |
getOutputValueClass()
Returns the resolved output value class.
|
void |
resolve(String identifier)
Resolves a given identifier.
|
protected void |
setInputWriterClass(Class<? extends InputWriter> inputWriterClass)
Sets the
InputWriter class. |
protected void |
setOutputKeyClass(Class outputKeyClass)
Sets the output key class class.
|
protected void |
setOutputReaderClass(Class<? extends OutputReader> outputReaderClass)
Sets the
OutputReader class. |
protected void |
setOutputValueClass(Class outputValueClass)
Sets the output value class.
|
public void resolve(String identifier)
public Class<? extends InputWriter> getInputWriterClass()
InputWriter
class.public Class<? extends OutputReader> getOutputReaderClass()
OutputReader
class.public Class getOutputKeyClass()
public Class getOutputValueClass()
protected void setInputWriterClass(Class<? extends InputWriter> inputWriterClass)
InputWriter
class.protected void setOutputReaderClass(Class<? extends OutputReader> outputReaderClass)
OutputReader
class.protected void setOutputKeyClass(Class outputKeyClass)
protected void setOutputValueClass(Class outputValueClass)
Copyright © 2009 The Apache Software Foundation