public interface ConvertTupleDesc<A extends TupleDesc,B extends TupleDesc>
TupleDesc.| Modifier and Type | Method and Description |
|---|---|
void |
convert(A input,
B output)
Converts the input descriptor into the output descriptor type.
|
B |
createOutput()
Creates a new instance of the output type.
|
java.lang.Class<B> |
getOutputType()
Returns the class type of the output descriptor
|
B createOutput()
void convert(A input, B output)
input - Original input descriptor. Not modified.output - Converted output descriptor. Modified.java.lang.Class<B> getOutputType()