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