private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); } }
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.blocklet_index = new BlockletIndex(); struct.blocklet_index.read(iprot); struct.setBlocklet_indexIsSet(true); } else {
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.block_index = new org.apache.carbondata.format.BlockletIndex(); struct.block_index.read(iprot); struct.setBlock_indexIsSet(true); } else {
_elem169.read(iprot); struct.blocklet_index_list.add(_elem169);
_elem140.read(iprot); struct.blocklet_index_list.add(_elem140);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BlockIndex struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.num_rows = iprot.readI64(); struct.setNum_rowsIsSet(true); struct.file_name = iprot.readString(); struct.setFile_nameIsSet(true); struct.offset = iprot.readI64(); struct.setOffsetIsSet(true); struct.block_index = new org.apache.carbondata.format.BlockletIndex(); struct.block_index.read(iprot); struct.setBlock_indexIsSet(true); BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.blocklet_info = new org.apache.carbondata.format.BlockletInfo3(); struct.blocklet_info.read(iprot); struct.setBlocklet_infoIsSet(true); } if (incoming.get(1)) { struct.file_size = iprot.readI64(); struct.setFile_sizeIsSet(true); } } }
_elem185.read(iprot); struct.blocklet_index_list.add(_elem185);
@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); } } }
_elem160.read(iprot); struct.blocklet_index_list.add(_elem160);