-
- All Known Implementing Classes:
- ConvertPositive_F64_U8, ConvertReal_F64_S8
public interface ConvertTupleDesc<A extends TupleDesc,B extends TupleDesc>Convert between different types ofTupleDesc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidconvert(A input, B output)Converts the input descriptor into the output descriptor type.BcreateOutput()Creates a new instance of the output type.java.lang.Class<B>getOutputType()Returns the class type of the output descriptor
-
-
-
Method Detail
-
createOutput
B createOutput()
Creates a new instance of the output type.- Returns:
- New instance of output data type
-
convert
void convert(A input, B output)
Converts the input descriptor into the output descriptor type.- Parameters:
input- Original input descriptor. Not modified.output- Converted output descriptor. Modified.
-
getOutputType
java.lang.Class<B> getOutputType()
Returns the class type of the output descriptor- Returns:
- Output type
-
-
DataMelt 3.0 © DataMelt by jWork.ORG