Exemplo n.º 1
0
 public static boolean doesPrimitiveMatchTypeParams(
     HiveBaseChar value, BaseCharTypeInfo typeInfo) {
   return typeInfo.getLength() == value.getCharacterLength();
 }
Exemplo n.º 2
0
 public static boolean doesWritableMatchTypeParams(
     HiveBaseCharWritable writable, BaseCharTypeInfo typeInfo) {
   return typeInfo.getLength() >= writable.getCharacterLength();
 }