public void setFieldValue(_Fields field, Object value) { switch (field) { case ROW: if (value == null) { unsetRow(); } else { setRow((ByteBuffer) value); } break; case COLUMNS: if (value == null) { unsetColumns(); } else { setColumns((List<TColumnIncrement>) value); } break; case ATTRIBUTES: if (value == null) { unsetAttributes(); } else { setAttributes((Map<ByteBuffer, ByteBuffer>) value); } break; case DURABILITY: if (value == null) { unsetDurability(); } else { setDurability((TDurability) value); } break; case CELL_VISIBILITY: if (value == null) { unsetCellVisibility(); } else { setCellVisibility((TCellVisibility) value); } break; } }
public TIncrement setRow(byte[] row) { setRow(row == null ? (ByteBuffer) null : ByteBuffer.wrap(row)); return this; }
public byte[] getRow() { setRow(org.apache.thrift.TBaseHelper.rightSize(row)); return row == null ? null : row.array(); }