/** * Performs a deep copy on <i>other</i>. */ public BlockletIndex(BlockletIndex other) { if (other.isSetMin_max_index()) { this.min_max_index = new BlockletMinMaxIndex(other.min_max_index); } if (other.isSetB_tree_index()) { this.b_tree_index = new BlockletBTreeIndex(other.b_tree_index); } }
/** * The method is used populate the dictionary sortIndex data to columnSortInfo * in thrif format. * * @param sortIndexList list of sortIndex * @throws IOException In Case of any I/O errors occurs. */ @Override public void writeSortIndex(List<Integer> sortIndexList) { columnSortInfo.setSort_index(sortIndexList); }
@Override public void clear() { setBlocklet_lengthIsSet(false); this.blocklet_length = 0; this.mutation = null; this.blocklet_index = null; this.blocklet_info = null; this.dictionary = null; }
@Override public void clear() { this.table_columns = null; setNumber_of_bucketsIsSet(false); this.number_of_buckets = 0; }
/** * Total byte size of all compressed pages in this column chunk (including the headers) * */ public ChunkCompressionMeta setTotal_compressed_size(long total_compressed_size) { this.total_compressed_size = total_compressed_size; setTotal_compressed_sizeIsSet(true); return this; }
public DataChunk setRowid_page_offset(long rowid_page_offset) { this.rowid_page_offset = rowid_page_offset; setRowid_page_offsetIsSet(true); return this; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof DataChunk) return this.equals((DataChunk)that); return false; }
public ColumnSchema setDimension(boolean dimension) { this.dimension = dimension; setDimensionIsSet(true); return this; }
/** * Nested fields. Since thrift does not support nested fields, * the nesting is flattened to a single list by a depth-first traversal. * The children count is used to construct the nested relationship. * This field is not set when the element is a primitive type */ public ColumnSchema setNum_child(int num_child) { this.num_child = num_child; setNum_childIsSet(true); return this; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof BlockletHeader) return this.equals((BlockletHeader)that); return false; }
public DataChunk2 setRowMajor(boolean rowMajor) { this.rowMajor = rowMajor; setRowMajorIsSet(true); return this; }
/** * The column IDs in this chunk, in the order in which the data is physically stored, will have atleast one column ID for columnar format, many column ID for row major format* */ public DataChunk2 setData_page_length(int data_page_length) { this.data_page_length = data_page_length; setData_page_lengthIsSet(true); return this; }
public DataChunk2 setNumberOfRowsInpage(int numberOfRowsInpage) { this.numberOfRowsInpage = numberOfRowsInpage; setNumberOfRowsInpageIsSet(true); return this; }
public FileFooter setVersion(int version) { this.version = version; setVersionIsSet(true); return this; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof BlockletBTreeIndex) return this.equals((BlockletBTreeIndex)that); return false; }
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; }
public BlockletInfo( int num_rows) { this(); this.num_rows = num_rows; setNum_rowsIsSet(true); }
public ColumnDictionaryChunkMeta setStart_offset(long start_offset) { this.start_offset = start_offset; setStart_offsetIsSet(true); return this; }
public BlockletHeader setBlocklet_length(int blocklet_length) { this.blocklet_length = blocklet_length; setBlocklet_lengthIsSet(true); return this; }