// Boolean
Converter booleanConverter = ObjectInspectorConverters.getConverter(
PrimitiveObjectInspectorFactory.javaIntObjectInspector,
PrimitiveObjectInspectorFactory.writableBooleanObjectInspector);
assertEquals("BooleanConverter",
new BooleanWritable(false),
booleanConverter.convert(Integer.valueOf(0))
);
assertEquals("BooleanConverter",
new BooleanWritable(true),
booleanConverter.convert(Integer.valueOf(1))
);
// Byte
Converter byteConverter = ObjectInspectorConverters.getConverter(