/** * Performs a deep copy on <i>other</i>. */ public ClobChunk(ClobChunk other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetChunk()) { this.chunk = other.chunk; } this.last = other.last; this.lobId = other.lobId; this.offset = other.offset; this.totalLength = other.totalLength; }
/** 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 CHUNK: return isSetChunk(); case LAST: return isSetLast(); case LOB_ID: return isSetLobId(); case OFFSET: return isSetOffset(); case TOTAL_LENGTH: return isSetTotalLength(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetChunk()).compareTo(other.isSetChunk()); if (lastComparison != 0) { return lastComparison; if (isSetChunk()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.chunk, other.chunk); if (lastComparison != 0) {
return false; boolean this_present_chunk = true && this.isSetChunk(); boolean that_present_chunk = true && that.isSetChunk(); if (this_present_chunk || that_present_chunk) { if (!(this_present_chunk && that_present_chunk))