Example #1
0
  public void setFieldValue(_Fields field, Object value) {
    switch (field) {
      case VALUES:
        if (value == null) {
          unsetValues();
        } else {
          setValues((List<Short>) value);
        }
        break;

      case NULLS:
        if (value == null) {
          unsetNulls();
        } else {
          setNulls((ByteBuffer) value);
        }
        break;
    }
  }
Example #2
0
 public TI16Column setNulls(byte[] nulls) {
   setNulls(nulls == null ? (ByteBuffer) null : ByteBuffer.wrap(nulls));
   return this;
 }
Example #3
0
 public byte[] getNulls() {
   setNulls(org.apache.thrift.TBaseHelper.rightSize(nulls));
   return nulls == null ? null : nulls.array();
 }