@Override public void clear() { setBlocklet_lengthIsSet(false); this.blocklet_length = 0; this.mutation = null; this.blocklet_index = null; this.blocklet_info = null; this.dictionary = null; }
public BlockletHeader setBlocklet_length(int blocklet_length) { this.blocklet_length = blocklet_length; setBlocklet_lengthIsSet(true); return this; }
public BlockletHeader( int blocklet_length, MutationType mutation, BlockletInfo blocklet_info) { this(); this.blocklet_length = blocklet_length; setBlocklet_lengthIsSet(true); this.mutation = mutation; this.blocklet_info = blocklet_info; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.blocklet_length = iprot.readI32(); struct.setBlocklet_lengthIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BlockletHeader struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.blocklet_length = iprot.readI32(); struct.setBlocklet_lengthIsSet(true); struct.mutation = org.apache.carbondata.format.MutationType.findByValue(iprot.readI32()); struct.setMutationIsSet(true); struct.blocklet_info = new BlockletInfo(); struct.blocklet_info.read(iprot); struct.setBlocklet_infoIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.blocklet_index = new BlockletIndex(); struct.blocklet_index.read(iprot); struct.setBlocklet_indexIsSet(true); } if (incoming.get(1)) { struct.dictionary = new org.apache.carbondata.format.ColumnDictionaryChunk(); struct.dictionary.read(iprot); struct.setDictionaryIsSet(true); } } }