T
- The type information to hint.@Public public abstract class TypeHint<T> extends Object
TypeInformation<Tuple2<String, Long>> info = TypeInformation.of(new TypeHint<Tuple2<String, Long>>(){});
or
TypeInformation<Tuple2<String, Long>> info = new TypeHint<Tuple2<String, Long>>(){}.getTypeInfo();
Constructor and Description |
---|
TypeHint()
Creates a hint for the generic type in the class signature.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
TypeInformation<T> |
getTypeInfo()
Gets the type information described by this TypeHint.
|
int |
hashCode() |
String |
toString() |
public TypeHint()
public TypeInformation<T> getTypeInfo()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.