@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_blocklet_length = true; list.add(present_blocklet_length); if (present_blocklet_length) list.add(blocklet_length); boolean present_mutation = true && (isSetMutation()); list.add(present_mutation); if (present_mutation) list.add(mutation.getValue()); boolean present_blocklet_index = true && (isSetBlocklet_index()); list.add(present_blocklet_index); if (present_blocklet_index) list.add(blocklet_index); boolean present_blocklet_info = true && (isSetBlocklet_info()); list.add(present_blocklet_info); if (present_blocklet_info) list.add(blocklet_info); boolean present_dictionary = true && (isSetDictionary()); list.add(present_dictionary); if (present_dictionary) list.add(dictionary); return list.hashCode(); }
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case BLOCKLET_LENGTH: return isSetBlocklet_length(); case MUTATION: return isSetMutation(); case BLOCKLET_INDEX: return isSetBlocklet_index(); case BLOCKLET_INFO: return isSetBlocklet_info(); case DICTIONARY: return isSetDictionary(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetMutation()).compareTo(other.isSetMutation()); if (lastComparison != 0) { return lastComparison; if (isSetMutation()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mutation, other.mutation); if (lastComparison != 0) {
/** * Performs a deep copy on <i>other</i>. */ public BlockletHeader(BlockletHeader other) { __isset_bitfield = other.__isset_bitfield; this.blocklet_length = other.blocklet_length; if (other.isSetMutation()) { this.mutation = other.mutation; } if (other.isSetBlocklet_index()) { this.blocklet_index = new BlockletIndex(other.blocklet_index); } if (other.isSetBlocklet_info()) { this.blocklet_info = new BlockletInfo(other.blocklet_info); } if (other.isSetDictionary()) { this.dictionary = new org.apache.carbondata.format.ColumnDictionaryChunk(other.dictionary); } }
boolean this_present_mutation = true && this.isSetMutation(); boolean that_present_mutation = true && that.isSetMutation(); if (this_present_mutation || that_present_mutation) { if (!(this_present_mutation && that_present_mutation))