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 setColFamily(byte[] colFamily) { setColFamily(colFamily == null ? (ByteBuffer) null : ByteBuffer.wrap(colFamily)); return this; }
public byte[] getColFamily() { setColFamily(org.apache.thrift.TBaseHelper.rightSize(colFamily)); return colFamily == null ? null : colFamily.array(); }