/** * Create copy of TableBlockInfo object */ public TableBlockInfo copy() { TableBlockInfo info = new TableBlockInfo(); info.filePath = filePath; info.blockOffset = blockOffset; info.blockLength = blockLength; info.segment = segment; info.blockletId = blockletId; info.locations = locations; info.version = version; info.isDataBlockFromOldStore = isDataBlockFromOldStore; info.blockletInfos = blockletInfos; info.blockStorageIdMap = blockStorageIdMap; info.deletedDeltaFilePath = deletedDeltaFilePath; info.detailInfo = detailInfo.copy(); info.dataMapWriterPath = dataMapWriterPath; return info; }