public BlockletInfo2( int num_rows, List<Long> column_data_chunks_offsets, List<Short> column_data_chunks_length) { this(); this.num_rows = num_rows; setNum_rowsIsSet(true); this.column_data_chunks_offsets = column_data_chunks_offsets; this.column_data_chunks_length = column_data_chunks_length; }
@Override public void clear() { setNum_rowsIsSet(false); this.num_rows = 0; this.column_data_chunks_offsets = null; this.column_data_chunks_length = null; }
public BlockletInfo2 setNum_rows(int num_rows) { this.num_rows = num_rows; setNum_rowsIsSet(true); return this; }
if (schemeField.type == org.apache.thrift.protocol.TType.I32) { struct.num_rows = iprot.readI32(); struct.setNum_rowsIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, BlockletInfo2 struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.num_rows = iprot.readI32(); struct.setNum_rowsIsSet(true); { org.apache.thrift.protocol.TList _list114 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); struct.column_data_chunks_offsets = new ArrayList<Long>(_list114.size); long _elem115; for (int _i116 = 0; _i116 < _list114.size; ++_i116) { _elem115 = iprot.readI64(); struct.column_data_chunks_offsets.add(_elem115); } } struct.setColumn_data_chunks_offsetsIsSet(true); { org.apache.thrift.protocol.TList _list117 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I16, iprot.readI32()); struct.column_data_chunks_length = new ArrayList<Short>(_list117.size); short _elem118; for (int _i119 = 0; _i119 < _list117.size; ++_i119) { _elem118 = iprot.readI16(); struct.column_data_chunks_length.add(_elem118); } } struct.setColumn_data_chunks_lengthIsSet(true); } }