@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(); }
sb.append(this.num_rows); first = false; if (isSetSorting_columns()) { if (!first) sb.append(", "); sb.append("sorting_columns:");
sb.append(this.num_rows); first = false; if (isSetSorting_columns()) { if (!first) sb.append(", "); sb.append("sorting_columns:");
boolean this_present_sorting_columns = true && this.isSetSorting_columns(); boolean that_present_sorting_columns = true && that.isSetSorting_columns(); if (this_present_sorting_columns || that_present_sorting_columns) { if (!(this_present_sorting_columns && that_present_sorting_columns))
boolean this_present_sorting_columns = true && this.isSetSorting_columns(); boolean that_present_sorting_columns = true && that.isSetSorting_columns(); if (this_present_sorting_columns || that_present_sorting_columns) { if (!(this_present_sorting_columns && that_present_sorting_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; } }
/** * 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(); }
/** 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(); }
lastComparison = Boolean.valueOf(isSetSorting_columns()).compareTo(typedOther.isSetSorting_columns()); if (lastComparison != 0) { return lastComparison; if (isSetSorting_columns()) { lastComparison = TBaseHelper.compareTo(this.sorting_columns, typedOther.sorting_columns); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetSorting_columns()).compareTo(typedOther.isSetSorting_columns()); if (lastComparison != 0) { return lastComparison; if (isSetSorting_columns()) { lastComparison = TBaseHelper.compareTo(this.sorting_columns, typedOther.sorting_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(); }
oprot.writeFieldEnd(); if (this.sorting_columns != null) { if (isSetSorting_columns()) { oprot.writeFieldBegin(SORTING_COLUMNS_FIELD_DESC);
oprot.writeFieldEnd(); if (this.sorting_columns != null) { if (isSetSorting_columns()) { oprot.writeFieldBegin(SORTING_COLUMNS_FIELD_DESC);