code: public static ArrowWritableRecordBatch toArrowWritables(List<FieldVector> fieldVectors,Schema schema) {
          ArrowWritableRecordBatch arrowWritableRecordBatch = new ArrowWritableRecordBatch(fieldVectors,schema);
          return arrowWritableRecordBatch;
      }
docs: Convert the input field vectors (the input data) and
  the given schema to a proper list of writables.
  @param fieldVectors the field vectors to use
  @param schema the schema to use
  @return the equivalent datavec batch given the input data