public void setFieldValue(_Fields field, Object value) { switch (field) { case ROW: if (value == null) { unsetRow(); } else { setRow((ByteBuffer) value); } break; case COL_FAMILY: if (value == null) { unsetColFamily(); } else { setColFamily((ByteBuffer) value); } break; case COL_QUALIFIER: if (value == null) { unsetColQualifier(); } else { setColQualifier((ByteBuffer) value); } break; case COL_VISIBILITY: if (value == null) { unsetColVisibility(); } else { setColVisibility((ByteBuffer) value); } break; case TIMESTAMP: if (value == null) { unsetTimestamp(); } else { setTimestamp((Long) value); } break; } }
public TKey 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(); }