public class BaseCharUtils extends Object
Constructor and Description |
---|
BaseCharUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
doesPrimitiveMatchTypeParams(HiveBaseChar value,
BaseCharTypeInfo typeInfo) |
static boolean |
doesWritableMatchTypeParams(HiveBaseCharWritable writable,
BaseCharTypeInfo typeInfo) |
static void |
validateCharParameter(int length) |
static void |
validateVarcharParameter(int length) |
public static void validateVarcharParameter(int length)
public static void validateCharParameter(int length)
public static boolean doesWritableMatchTypeParams(HiveBaseCharWritable writable, BaseCharTypeInfo typeInfo)
public static boolean doesPrimitiveMatchTypeParams(HiveBaseChar value, BaseCharTypeInfo typeInfo)
Copyright © 2017 The Apache Software Foundation. All rights reserved.