list.add(is_splitable); boolean present_sync_marker = true && (isSetSync_marker()); list.add(present_sync_marker); if (present_sync_marker)
first = false; if (isSetSync_marker()) { if (!first) sb.append(", "); sb.append("sync_marker:");
/** * 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(isSetSync_marker()).compareTo(other.isSetSync_marker()); if (lastComparison != 0) { return lastComparison; if (isSetSync_marker()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sync_marker, other.sync_marker); if (lastComparison != 0) {
if (struct.isSetSync_marker()) { oprot.writeFieldBegin(SYNC_MARKER_FIELD_DESC); oprot.writeBinary(struct.sync_marker);
/** 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_sync_marker = true && this.isSetSync_marker(); boolean that_present_sync_marker = true && that.isSetSync_marker(); if (this_present_sync_marker || that_present_sync_marker) { if (!(this_present_sync_marker && that_present_sync_marker))
optionals.set(2); if (struct.isSetSync_marker()) { optionals.set(3); oprot.writeBool(struct.is_splitable); if (struct.isSetSync_marker()) { oprot.writeBinary(struct.sync_marker);