(&self, header: &str)
| 621 | } |
| 622 | |
| 623 | fn get_mask_column(&self, header: &str) -> Result<Node> { |
| 624 | let column_t = self.types_info.get_column_type(header); |
| 625 | if !column_t.has_mask() { |
| 626 | return Err(runtime_error!("Column has no mask")); |
| 627 | } |
| 628 | if self.is_public() { |
| 629 | self.shares[0].named_tuple_get(header.into())?.tuple_get(0) |
| 630 | } else { |
| 631 | let mut shares_vec = vec![]; |
| 632 | for share_id in 0..PARTIES { |
| 633 | let column_share = self.shares[share_id].named_tuple_get(header.into())?; |
| 634 | shares_vec.push(column_share.tuple_get(0)?); |
| 635 | } |
| 636 | self.get_graph().create_tuple(shares_vec) |
| 637 | } |
| 638 | } |
| 639 | |
| 640 | fn get_mask_header(&self, header: &str) -> Result<String> { |
| 641 | self.types_info.get_mask_header(header) |
no test coverage detected