public FieldType getFieldType(int field) { FieldSchema fieldSchema = getFieldSchema(field); return fieldSchema != null ? fieldSchema.getType() : null;
public int getFieldType(int field) { FieldType fieldTypeEnum = getFieldTypeEnum(field); return fieldTypeEnum != null ? fieldTypeEnum.getOrdinal() : 0;
    public FieldType getFieldType(int field) {        FieldSchema fieldSchema = getFieldSchema(field);        return fieldSchema != null ? fieldSchema.getType() : null;    }