}
@Override
protected int populateRow(Object[] row) {
int col = 0;
Category category = this.categories.poll();
assert(category != null);
// C_ID
row[col++] = category.getCategoryID();
// C_NAME
row[col++] = category.getName();
// C_PARENT_ID
row[col++] = category.getParentCategoryID();
return (col);
}