public class TypeInfoParser extends Object
| Constructor and Description |
|---|
TypeInfoParser() |
| Modifier and Type | Method and Description |
|---|---|
static <X> TypeInformation<X> |
parse(String infoString)
Generates an instance of
TypeInformation by parsing a type
information string. |
public static <X> TypeInformation<X> parse(String infoString)
TypeInformation by parsing a type
information string. A type information string can contain the following
types:
Integer, String, etc.
Integer[],
String[], etc.
Tuple1<TYPE0>,
Tuple2<TYPE0, TYPE1>, etc.org.my.CustomClass,
org.my.CustomClass$StaticInnerClass, etc.
org.my.CustomClass[],
org.my.CustomClass$StaticInnerClass[], etc.
DoubleValue,
StringValue, IntegerValue, etc.Tuple2[], etc. Writable<org.my.CustomWritable>"Tuple2<String,Tuple2<Integer,org.my.MyClass>>"infoString - type information string to be parsedTypeInformation representation of the stringCopyright © 2015 The Apache Software Foundation. All rights reserved.