src/main/java/com/gojek/beast/sink/bq/BQRowWithoutId.java
package com.gojek.beast.sink.bq;
import com.gojek.beast.models.Record;
import com.gojek.beast.sink.bq.handler.BQRow;
import com.google.cloud.bigquery.InsertAllRequest;
public class BQRowWithoutId implements BQRow {
@Override
public InsertAllRequest.RowToInsert of(Record record) {
return InsertAllRequest.RowToInsert.of(record.getColumns());
}
}