public DictionaryPageHeader deepCopy() { return new DictionaryPageHeader(this); }
public DictionaryPageHeader deepCopy() { return new DictionaryPageHeader(this); }
public void writeDictionaryPageHeader( int uncompressedSize, int compressedSize, int valueCount, org.apache.parquet.column.Encoding valuesEncoding, OutputStream to) throws IOException { PageHeader pageHeader = new PageHeader(PageType.DICTIONARY_PAGE, uncompressedSize, compressedSize); pageHeader.setDictionary_page_header(new DictionaryPageHeader(valueCount, getEncoding(valuesEncoding))); writePageHeader(pageHeader, to); }
public void writeDictionaryPageHeader( int uncompressedSize, int compressedSize, int valueCount, org.apache.parquet.column.Encoding valuesEncoding, OutputStream to) throws IOException { PageHeader pageHeader = new PageHeader(PageType.DICTIONARY_PAGE, uncompressedSize, compressedSize); pageHeader.setDictionary_page_header(new DictionaryPageHeader(valueCount, getEncoding(valuesEncoding))); writePageHeader(pageHeader, to); }
struct.dictionary_page_header = new DictionaryPageHeader(); struct.dictionary_page_header.read(iprot); struct.setDictionary_page_headerIsSet(true);
/** * Performs a deep copy on <i>other</i>. */ public PageHeader(PageHeader other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetType()) { this.type = other.type; } this.uncompressed_page_size = other.uncompressed_page_size; this.compressed_page_size = other.compressed_page_size; this.crc = other.crc; if (other.isSetData_page_header()) { this.data_page_header = new DataPageHeader(other.data_page_header); } if (other.isSetIndex_page_header()) { this.index_page_header = new IndexPageHeader(other.index_page_header); } if (other.isSetDictionary_page_header()) { this.dictionary_page_header = new DictionaryPageHeader(other.dictionary_page_header); } if (other.isSetData_page_header_v2()) { this.data_page_header_v2 = new DataPageHeaderV2(other.data_page_header_v2); } }
struct.dictionary_page_header = new DictionaryPageHeader(); struct.dictionary_page_header.read(iprot); struct.setDictionary_page_headerIsSet(true);
/** * Performs a deep copy on <i>other</i>. */ public PageHeader(PageHeader other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetType()) { this.type = other.type; } this.uncompressed_page_size = other.uncompressed_page_size; this.compressed_page_size = other.compressed_page_size; this.crc = other.crc; if (other.isSetData_page_header()) { this.data_page_header = new DataPageHeader(other.data_page_header); } if (other.isSetIndex_page_header()) { this.index_page_header = new IndexPageHeader(other.index_page_header); } if (other.isSetDictionary_page_header()) { this.dictionary_page_header = new DictionaryPageHeader(other.dictionary_page_header); } if (other.isSetData_page_header_v2()) { this.data_page_header_v2 = new DataPageHeaderV2(other.data_page_header_v2); } if (other.isSetBloom_filter_page_header()) { this.bloom_filter_page_header = new BloomFilterPageHeader(other.bloom_filter_page_header); } }
case 7: // DICTIONARY_PAGE_HEADER if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.dictionary_page_header = new DictionaryPageHeader(); struct.dictionary_page_header.read(iprot); struct.setDictionary_page_headerIsSet(true);
case 7: // DICTIONARY_PAGE_HEADER if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.dictionary_page_header = new DictionaryPageHeader(); struct.dictionary_page_header.read(iprot); struct.setDictionary_page_headerIsSet(true);