/** * If true, the entries in the dictionary are sorted in ascending order * */ public DictionaryPageHeader setIs_sorted(boolean is_sorted) { this.is_sorted = is_sorted; setIs_sortedIsSet(true); return this; }
/** * If true, the entries in the dictionary are sorted in ascending order * */ public DictionaryPageHeader setIs_sorted(boolean is_sorted) { this.is_sorted = is_sorted; setIs_sortedIsSet(true); return this; }
@Override public void clear() { setNum_valuesIsSet(false); this.num_values = 0; this.encoding = null; setIs_sortedIsSet(false); this.is_sorted = false; }
@Override public void clear() { setNum_valuesIsSet(false); this.num_values = 0; this.encoding = null; setIs_sortedIsSet(false); this.is_sorted = false; }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, DictionaryPageHeader struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.num_values = iprot.readI32(); struct.setNum_valuesIsSet(true); struct.encoding = org.apache.parquet.format.Encoding.findByValue(iprot.readI32()); struct.setEncodingIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.is_sorted = iprot.readBool(); struct.setIs_sortedIsSet(true); } } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, DictionaryPageHeader struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.num_values = iprot.readI32(); struct.setNum_valuesIsSet(true); struct.encoding = org.apache.parquet.format.Encoding.findByValue(iprot.readI32()); struct.setEncodingIsSet(true); java.util.BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.is_sorted = iprot.readBool(); struct.setIs_sortedIsSet(true); } } }
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.is_sorted = iprot.readBool(); struct.setIs_sortedIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.is_sorted = iprot.readBool(); struct.setIs_sortedIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);