MajorType valueMajorType = fieldReader.getType();
MinorType valueMinorType = valueMajorType.getMinorType();
switch (valueMinorType) {
case TINYINT:
TinyIntHolder tinyIntHolder = new TinyIntHolder();
tinyIntHolder.value = fieldReader.readByte();
mapWriter.tinyInt(MappifyUtility.fieldValue).write(tinyIntHolder);
break;
case SMALLINT:
SmallIntHolder smallIntHolder = new SmallIntHolder();