public static class Cast.Widening extends java.lang.Object implements Cast.Validator
Standard widening conversions:
Row widening:
Widening doesn't lose information about the overall magnitude in following cases:
Other conversions to may cause loss of precision.
Constructor and Description |
---|
Widening() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Cast.CompatibilityError> |
apply(Schema input,
Schema output) |
static Cast.Widening |
of() |
java.lang.String |
toString() |
public static Cast.Widening of()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<Cast.CompatibilityError> apply(Schema input, Schema output)
apply
in interface Cast.Validator