} else if(type == Double.class) {
w = new NDoubleWriter(f);
} else if(type.isEnum()) {
w = new EnumWriter(f, output.getManagedBuffer());
} else if(type == boolean.class) {
w = new BitWriter(f);
} else if(type == long.class) {
w = new LongWriter(f);
} else if(type == String.class) {
w = new StringWriter(f, output.getManagedBuffer());
} else if (type == Timestamp.class) {