list.add(version); boolean present_column_schema = true && (isSetColumn_schema()); list.add(present_column_schema); if (present_column_schema)
/** * Performs a deep copy on <i>other</i>. */ public FileHeader(FileHeader other) { __isset_bitfield = other.__isset_bitfield; this.version = other.version; if (other.isSetColumn_schema()) { List<org.apache.carbondata.format.ColumnSchema> __this__column_schema = new ArrayList<org.apache.carbondata.format.ColumnSchema>(other.column_schema.size()); for (org.apache.carbondata.format.ColumnSchema other_element : other.column_schema) { __this__column_schema.add(new org.apache.carbondata.format.ColumnSchema(other_element)); } this.column_schema = __this__column_schema; } this.is_footer_present = other.is_footer_present; this.time_stamp = other.time_stamp; this.is_splitable = other.is_splitable; if (other.isSetSync_marker()) { this.sync_marker = org.apache.thrift.TBaseHelper.copyBinary(other.sync_marker); } if (other.isSetCompressor_name()) { this.compressor_name = other.compressor_name; } }
lastComparison = Boolean.valueOf(isSetColumn_schema()).compareTo(other.isSetColumn_schema()); if (lastComparison != 0) { return lastComparison; if (isSetColumn_schema()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.column_schema, other.column_schema); if (lastComparison != 0) {
/** 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 VERSION: return isSetVersion(); case COLUMN_SCHEMA: return isSetColumn_schema(); case IS_FOOTER_PRESENT: return isSetIs_footer_present(); case TIME_STAMP: return isSetTime_stamp(); case IS_SPLITABLE: return isSetIs_splitable(); case SYNC_MARKER: return isSetSync_marker(); case COMPRESSOR_NAME: return isSetCompressor_name(); } throw new IllegalStateException(); }
boolean this_present_column_schema = true && this.isSetColumn_schema(); boolean that_present_column_schema = true && that.isSetColumn_schema(); if (this_present_column_schema || that_present_column_schema) { if (!(this_present_column_schema && that_present_column_schema))