if (NullWritable.class.isAssignableFrom(valueClass)) {
return HiveValueReader.Null.get();
}
int columnIndex = columnIndexOrThrow(schema, conf, columnOption);
Class hiveClass = schema.columnType(columnIndex).javaClass();
WritableWrapper wrapper = lookup(valueClass, hiveClass);
return new PrimitiveValueReader(columnIndex, wrapper);
}