public ColumnChunk deepCopy() { return new ColumnChunk(this); }
public ColumnChunk deepCopy() { return new ColumnChunk(this); }
/** * Performs a deep copy on <i>other</i>. */ public RowGroup(RowGroup other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColumns()) { java.util.List<ColumnChunk> __this__columns = new java.util.ArrayList<ColumnChunk>(other.columns.size()); for (ColumnChunk other_element : other.columns) { __this__columns.add(new ColumnChunk(other_element)); } this.columns = __this__columns; } this.total_byte_size = other.total_byte_size; this.num_rows = other.num_rows; if (other.isSetSorting_columns()) { java.util.List<SortingColumn> __this__sorting_columns = new java.util.ArrayList<SortingColumn>(other.sorting_columns.size()); for (SortingColumn other_element : other.sorting_columns) { __this__sorting_columns.add(new SortingColumn(other_element)); } this.sorting_columns = __this__sorting_columns; } }
/** * Performs a deep copy on <i>other</i>. */ public RowGroup(RowGroup other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetColumns()) { List<ColumnChunk> __this__columns = new ArrayList<ColumnChunk>(other.columns.size()); for (ColumnChunk other_element : other.columns) { __this__columns.add(new ColumnChunk(other_element)); } this.columns = __this__columns; } this.total_byte_size = other.total_byte_size; this.num_rows = other.num_rows; if (other.isSetSorting_columns()) { List<SortingColumn> __this__sorting_columns = new ArrayList<SortingColumn>(other.sorting_columns.size()); for (SortingColumn other_element : other.sorting_columns) { __this__sorting_columns.add(new SortingColumn(other_element)); } this.sorting_columns = __this__sorting_columns; } }
for (int _i44 = 0; _i44 < _list42.size; ++_i44) _elem43 = new ColumnChunk(); _elem43.read(iprot); struct.columns.add(_elem43);
for (int _i44 = 0; _i44 < _list42.size; ++_i44) _elem43 = new ColumnChunk(); _elem43.read(iprot); struct.columns.add(_elem43);
List<ColumnChunk> parquetColumns = new ArrayList<ColumnChunk>(); for (ColumnChunkMetaData columnMetaData : columns) { ColumnChunk columnChunk = new ColumnChunk(columnMetaData.getFirstDataPageOffset()); // verify this is the right offset
for (int _i34 = 0; _i34 < _list32.size; ++_i34) _elem33 = new ColumnChunk(); _elem33.read(iprot); struct.columns.add(_elem33);
for (int _i34 = 0; _i34 < _list32.size; ++_i34) _elem33 = new ColumnChunk(); _elem33.read(iprot); struct.columns.add(_elem33);
List<ColumnChunk> parquetColumns = new ArrayList<ColumnChunk>(); for (ColumnChunkMetaData columnMetaData : columns) { ColumnChunk columnChunk = new ColumnChunk(columnMetaData.getFirstDataPageOffset()); // verify this is the right offset