list.add(offset_index_offset); boolean present_offset_index_length = true && (isSetOffset_index_length()); list.add(present_offset_index_length); if (present_offset_index_length)
first = false; if (isSetOffset_index_length()) { if (!first) sb.append(", "); sb.append("offset_index_length:");
first = false; if (isSetOffset_index_length()) { if (!first) sb.append(", "); sb.append("offset_index_length:");
private static IndexReference toOffsetIndexReference(ColumnChunk columnChunk) { if (columnChunk.isSetOffset_index_offset() && columnChunk.isSetOffset_index_length()) { return new IndexReference(columnChunk.getOffset_index_offset(), columnChunk.getOffset_index_length()); } return null; }
/** 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 java.lang.IllegalArgumentException(); } switch (field) { case FILE_PATH: return isSetFile_path(); case FILE_OFFSET: return isSetFile_offset(); case META_DATA: return isSetMeta_data(); case OFFSET_INDEX_OFFSET: return isSetOffset_index_offset(); case OFFSET_INDEX_LENGTH: return isSetOffset_index_length(); case COLUMN_INDEX_OFFSET: return isSetColumn_index_offset(); case COLUMN_INDEX_LENGTH: return isSetColumn_index_length(); } throw new java.lang.IllegalStateException(); }
/** 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 FILE_PATH: return isSetFile_path(); case FILE_OFFSET: return isSetFile_offset(); case META_DATA: return isSetMeta_data(); case OFFSET_INDEX_OFFSET: return isSetOffset_index_offset(); case OFFSET_INDEX_LENGTH: return isSetOffset_index_length(); case COLUMN_INDEX_OFFSET: return isSetColumn_index_offset(); case COLUMN_INDEX_LENGTH: return isSetColumn_index_length(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetOffset_index_length()).compareTo(other.isSetOffset_index_length()); if (lastComparison != 0) { return lastComparison; if (isSetOffset_index_length()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset_index_length, other.offset_index_length); if (lastComparison != 0) {
lastComparison = java.lang.Boolean.valueOf(isSetOffset_index_length()).compareTo(other.isSetOffset_index_length()); if (lastComparison != 0) { return lastComparison; if (isSetOffset_index_length()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset_index_length, other.offset_index_length); if (lastComparison != 0) {
optionals.set(2); if (struct.isSetOffset_index_length()) { optionals.set(3); oprot.writeI64(struct.offset_index_offset); if (struct.isSetOffset_index_length()) { oprot.writeI32(struct.offset_index_length);
optionals.set(2); if (struct.isSetOffset_index_length()) { optionals.set(3); oprot.writeI64(struct.offset_index_offset); if (struct.isSetOffset_index_length()) { oprot.writeI32(struct.offset_index_length);
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetFile_path()) ? 131071 : 524287); if (isSetFile_path()) hashCode = hashCode * 8191 + file_path.hashCode(); hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(file_offset); hashCode = hashCode * 8191 + ((isSetMeta_data()) ? 131071 : 524287); if (isSetMeta_data()) hashCode = hashCode * 8191 + meta_data.hashCode(); hashCode = hashCode * 8191 + ((isSetOffset_index_offset()) ? 131071 : 524287); if (isSetOffset_index_offset()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(offset_index_offset); hashCode = hashCode * 8191 + ((isSetOffset_index_length()) ? 131071 : 524287); if (isSetOffset_index_length()) hashCode = hashCode * 8191 + offset_index_length; hashCode = hashCode * 8191 + ((isSetColumn_index_offset()) ? 131071 : 524287); if (isSetColumn_index_offset()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(column_index_offset); hashCode = hashCode * 8191 + ((isSetColumn_index_length()) ? 131071 : 524287); if (isSetColumn_index_length()) hashCode = hashCode * 8191 + column_index_length; return hashCode; }
boolean this_present_offset_index_length = true && this.isSetOffset_index_length(); boolean that_present_offset_index_length = true && that.isSetOffset_index_length(); if (this_present_offset_index_length || that_present_offset_index_length) { if (!(this_present_offset_index_length && that_present_offset_index_length))
boolean this_present_offset_index_length = true && this.isSetOffset_index_length(); boolean that_present_offset_index_length = true && that.isSetOffset_index_length(); if (this_present_offset_index_length || that_present_offset_index_length) { if (!(this_present_offset_index_length && that_present_offset_index_length))
oprot.writeFieldEnd(); if (struct.isSetOffset_index_length()) { oprot.writeFieldBegin(OFFSET_INDEX_LENGTH_FIELD_DESC); oprot.writeI32(struct.offset_index_length);
oprot.writeFieldEnd(); if (struct.isSetOffset_index_length()) { oprot.writeFieldBegin(OFFSET_INDEX_LENGTH_FIELD_DESC); oprot.writeI32(struct.offset_index_length);