@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_columns = true && (isSetColumns()); builder.append(present_columns); if (present_columns) builder.append(columns); boolean present_total_byte_size = true; builder.append(present_total_byte_size); if (present_total_byte_size) builder.append(total_byte_size); boolean present_num_rows = true; builder.append(present_num_rows); if (present_num_rows) builder.append(num_rows); boolean present_sorting_columns = true && (isSetSorting_columns()); builder.append(present_sorting_columns); if (present_sorting_columns) builder.append(sorting_columns); return builder.toHashCode(); }
return false; boolean this_present_columns = true && this.isSetColumns(); boolean that_present_columns = true && that.isSetColumns(); if (this_present_columns || that_present_columns) { if (!(this_present_columns && that_present_columns))
return false; boolean this_present_columns = true && this.isSetColumns(); boolean that_present_columns = true && that.isSetColumns(); if (this_present_columns || that_present_columns) { if (!(this_present_columns && that_present_columns))
/** * Performs a deep copy on <i>other</i>. */ public RowGroup(RowGroup other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetColumns()) { List<ColumnChunk> __this__columns = new ArrayList<ColumnChunk>(); for (ColumnChunk other_element : other.columns) { __this__columns.add(new ColumnChunk(other_element)); } this.columns = __this__columns; } this.total_byte_size = other.total_byte_size; this.num_rows = other.num_rows; if (other.isSetSorting_columns()) { List<SortingColumn> __this__sorting_columns = new ArrayList<SortingColumn>(); for (SortingColumn other_element : other.sorting_columns) { __this__sorting_columns.add(new SortingColumn(other_element)); } this.sorting_columns = __this__sorting_columns; } }
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case COLUMNS: return isSetColumns(); case TOTAL_BYTE_SIZE: return isSetTotal_byte_size(); case NUM_ROWS: return isSetNum_rows(); case SORTING_COLUMNS: return isSetSorting_columns(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public RowGroup(RowGroup other) { __isset_bit_vector.clear(); __isset_bit_vector.or(other.__isset_bit_vector); if (other.isSetColumns()) { List<ColumnChunk> __this__columns = new ArrayList<ColumnChunk>(); for (ColumnChunk other_element : other.columns) { __this__columns.add(new ColumnChunk(other_element)); } this.columns = __this__columns; } this.total_byte_size = other.total_byte_size; this.num_rows = other.num_rows; if (other.isSetSorting_columns()) { List<SortingColumn> __this__sorting_columns = new ArrayList<SortingColumn>(); for (SortingColumn other_element : other.sorting_columns) { __this__sorting_columns.add(new SortingColumn(other_element)); } this.sorting_columns = __this__sorting_columns; } }
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */ public boolean isSet(_Fields field) { if (field == null) { throw new IllegalArgumentException(); } switch (field) { case COLUMNS: return isSetColumns(); case TOTAL_BYTE_SIZE: return isSetTotal_byte_size(); case NUM_ROWS: return isSetNum_rows(); case SORTING_COLUMNS: return isSetSorting_columns(); } throw new IllegalStateException(); }
RowGroup typedOther = (RowGroup)other; lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns()); if (lastComparison != 0) { return lastComparison; if (isSetColumns()) { lastComparison = TBaseHelper.compareTo(this.columns, typedOther.columns); if (lastComparison != 0) {
RowGroup typedOther = (RowGroup)other; lastComparison = Boolean.valueOf(isSetColumns()).compareTo(typedOther.isSetColumns()); if (lastComparison != 0) { return lastComparison; if (isSetColumns()) { lastComparison = TBaseHelper.compareTo(this.columns, typedOther.columns); if (lastComparison != 0) {
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_columns = true && (isSetColumns()); builder.append(present_columns); if (present_columns) builder.append(columns); boolean present_total_byte_size = true; builder.append(present_total_byte_size); if (present_total_byte_size) builder.append(total_byte_size); boolean present_num_rows = true; builder.append(present_num_rows); if (present_num_rows) builder.append(num_rows); boolean present_sorting_columns = true && (isSetSorting_columns()); builder.append(present_sorting_columns); if (present_sorting_columns) builder.append(sorting_columns); return builder.toHashCode(); }