コード例 #1
0
  public void setFieldValue(_Fields field, Object value) {
    switch (field) {
      case COLUMN_NAME:
        if (value == null) {
          unsetColumn_name();
        } else {
          setColumn_name((ByteBuffer) value);
        }
        break;

      case OP:
        if (value == null) {
          unsetOp();
        } else {
          setOp((IndexOperator) value);
        }
        break;

      case VALUE:
        if (value == null) {
          unsetValue();
        } else {
          setValue((ByteBuffer) value);
        }
        break;
    }
  }
コード例 #2
0
 public IndexExpression setColumn_name(byte[] column_name) {
   setColumn_name(column_name == null ? (ByteBuffer) null : ByteBuffer.wrap(column_name));
   return this;
 }
コード例 #3
0
 public byte[] getColumn_name() {
   setColumn_name(org.apache.thrift.TBaseHelper.rightSize(column_name));
   return column_name == null ? null : column_name.array();
 }