/** * Clear value, timestamp and ttl (the latter two set to '0') leaving only the column name */ @Override public HColumn<N,V> clear() { column.value = null; column.timestamp = 0; column.ttl = 0; column.setTimestampIsSet(false); column.setTtlIsSet(false); column.setValueIsSet(false); return this; }
public Column setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; }
public Column setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; }
public Column setTimestamp(long timestamp) { this.timestamp = timestamp; setTimestampIsSet(true); return this; }
@Override public void clear() { this.name = null; this.value = null; setTimestampIsSet(false); this.timestamp = 0; setTtlIsSet(false); this.ttl = 0; }
@Override public void clear() { this.name = null; this.value = null; setTimestampIsSet(false); this.timestamp = 0; setTtlIsSet(false); this.ttl = 0; }
@Override public void clear() { this.name = null; this.value = null; setTimestampIsSet(false); this.timestamp = 0; setTtlIsSet(false); this.ttl = 0; }
/** * Clear value, timestamp and ttl (the latter two set to '0') leaving only the column name */ @Override public HColumn<N,V> clear() { column.value = null; column.timestamp = 0; column.ttl = 0; column.setTimestampIsSet(false); column.setTtlIsSet(false); column.setValueIsSet(false); return this; }
/** * Clear value, timestamp and ttl (the latter two set to '0') leaving only the column name */ @Override public HColumn<N,V> clear() { column.value = null; column.timestamp = 0; column.ttl = 0; column.setTimestampIsSet(false); column.setTtlIsSet(false); column.setValueIsSet(false); return this; }
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Column struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readBinary(); struct.setNameIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } if (incoming.get(1)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(2)) { struct.ttl = iprot.readI32(); struct.setTtlIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Column struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readBinary(); struct.setNameIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } if (incoming.get(1)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(2)) { struct.ttl = iprot.readI32(); struct.setTtlIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, Column struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.name = iprot.readBinary(); struct.setNameIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.value = iprot.readBinary(); struct.setValueIsSet(true); } if (incoming.get(1)) { struct.timestamp = iprot.readI64(); struct.setTimestampIsSet(true); } if (incoming.get(2)) { struct.ttl = iprot.readI32(); struct.setTtlIsSet(true); } } }