public class TypeCoercion$ extends Object
Modifier and Type | Field and Description |
---|---|
static TypeCoercion$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
TypeCoercion$() |
Modifier and Type | Method and Description |
---|---|
boolean |
canCast(TypeInformation<?> from,
TypeInformation<?> to)
All the supported cast types in flink-table.
|
boolean |
canSafelyCast(TypeInformation<?> from,
TypeInformation<?> to)
Test if we can do cast safely without lose of information.
|
scala.collection.IndexedSeq<TypeInformation<?>> |
numericWideningPrecedence() |
scala.Option<TypeInformation<?>> |
widerTypeOf(TypeInformation<?> tp1,
TypeInformation<?> tp2) |
public static final TypeCoercion$ MODULE$
public scala.collection.IndexedSeq<TypeInformation<?>> numericWideningPrecedence()
public scala.Option<TypeInformation<?>> widerTypeOf(TypeInformation<?> tp1, TypeInformation<?> tp2)
public boolean canSafelyCast(TypeInformation<?> from, TypeInformation<?> to)
public boolean canCast(TypeInformation<?> from, TypeInformation<?> to)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.