public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIALS: return getCredentials(); case SERVER_NAME: return getServerName(); case SPLIT: return getSplit(); } throw new java.lang.IllegalStateException(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_tinfo = true && (isSetTinfo()); list.add(present_tinfo); if (present_tinfo) list.add(tinfo); boolean present_credentials = true && (isSetCredentials()); list.add(present_credentials); if (present_credentials) list.add(credentials); boolean present_serverName = true && (isSetServerName()); list.add(present_serverName); if (present_serverName) list.add(serverName); boolean present_split = true && (isSetSplit()); list.add(present_split); if (present_split) list.add(split); return list.hashCode(); }
lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(other.isSetTinfo()); if (lastComparison != 0) { return lastComparison; if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, other.tinfo); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetServerName()).compareTo(other.isSetServerName()); if (lastComparison != 0) { return lastComparison; if (isSetServerName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, other.serverName); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetSplit()).compareTo(other.isSetSplit()); if (lastComparison != 0) { return lastComparison; if (isSetSplit()) {
return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) boolean this_present_serverName = true && this.isSetServerName(); boolean that_present_serverName = true && that.isSetServerName(); if (this_present_serverName || that_present_serverName) { if (!(this_present_serverName && that_present_serverName)) boolean this_present_split = true && this.isSetSplit(); boolean that_present_split = true && that.isSetSplit(); if (this_present_split || that_present_split) { if (!(this_present_split && that_present_split))
@Override public void write(org.apache.thrift.protocol.TProtocol prot, reportSplitExtent_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredentials()) { optionals.set(1); } if (struct.isSetServerName()) { optionals.set(2); } if (struct.isSetSplit()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredentials()) { struct.credentials.write(oprot); } if (struct.isSetServerName()) { oprot.writeString(struct.serverName); } if (struct.isSetSplit()) { struct.split.write(oprot); } }
/** * Performs a deep copy on <i>other</i>. */ public reportSplitExtent_args(reportSplitExtent_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(other.credentials); } if (other.isSetServerName()) { this.serverName = other.serverName; } if (other.isSetSplit()) { this.split = new TabletSplit(other.split); } }
/** 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 TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case SERVER_NAME: return isSetServerName(); case SPLIT: return isSetSplit(); } throw new IllegalStateException(); }
public reportSplitExtent_args deepCopy() { return new reportSplitExtent_args(this); }
public reportSplitExtent_args getEmptyArgsInstance() { return new reportSplitExtent_args(); }
public reportSplitExtent_args getEmptyArgsInstance() { return new reportSplitExtent_args(); }
public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIALS: return getCredentials(); case SERVER_NAME: return getServerName(); case SPLIT: return getSplit(); } throw new IllegalStateException(); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof reportSplitExtent_args) return this.equals((reportSplitExtent_args)that); return false; }
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("reportSplitExtent", org.apache.thrift.protocol.TMessageType.ONEWAY, 0)); reportSplitExtent_args args = new reportSplitExtent_args(); args.setTinfo(tinfo); args.setCredentials(credentials); args.setServerName(serverName); args.setSplit(split); args.write(prot); prot.writeMessageEnd(); }
public void send_reportSplitExtent(org.apache.accumulo.core.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.TCredentials credentials, String serverName, TabletSplit split) throws org.apache.thrift.TException { reportSplitExtent_args args = new reportSplitExtent_args(); args.setTinfo(tinfo); args.setCredentials(credentials); args.setServerName(serverName); args.setSplit(split); sendBaseOneway("reportSplitExtent", args); }
lastComparison = java.lang.Boolean.valueOf(isSetTinfo()).compareTo(other.isSetTinfo()); if (lastComparison != 0) { return lastComparison; if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, other.tinfo); if (lastComparison != 0) { lastComparison = java.lang.Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { lastComparison = java.lang.Boolean.valueOf(isSetServerName()).compareTo(other.isSetServerName()); if (lastComparison != 0) { return lastComparison; if (isSetServerName()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serverName, other.serverName); if (lastComparison != 0) { lastComparison = java.lang.Boolean.valueOf(isSetSplit()).compareTo(other.isSetSplit()); if (lastComparison != 0) { return lastComparison; if (isSetSplit()) {
return true; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) boolean this_present_serverName = true && this.isSetServerName(); boolean that_present_serverName = true && that.isSetServerName(); if (this_present_serverName || that_present_serverName) { if (!(this_present_serverName && that_present_serverName)) boolean this_present_split = true && this.isSetSplit(); boolean that_present_split = true && that.isSetSplit(); if (this_present_split || that_present_split) { if (!(this_present_split && that_present_split))
@Override public void write(org.apache.thrift.protocol.TProtocol prot, reportSplitExtent_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTinfo()) { optionals.set(0); } if (struct.isSetCredentials()) { optionals.set(1); } if (struct.isSetServerName()) { optionals.set(2); } if (struct.isSetSplit()) { optionals.set(3); } oprot.writeBitSet(optionals, 4); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); } if (struct.isSetCredentials()) { struct.credentials.write(oprot); } if (struct.isSetServerName()) { oprot.writeString(struct.serverName); } if (struct.isSetSplit()) { struct.split.write(oprot); } }
/** 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 TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case SERVER_NAME: return isSetServerName(); case SPLIT: return isSetSplit(); } throw new java.lang.IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public reportSplitExtent_args(reportSplitExtent_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(other.credentials); } if (other.isSetServerName()) { this.serverName = other.serverName; } if (other.isSetSplit()) { this.split = new TabletSplit(other.split); } }
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTinfo()) ? 131071 : 524287); if (isSetTinfo()) hashCode = hashCode * 8191 + tinfo.hashCode(); hashCode = hashCode * 8191 + ((isSetCredentials()) ? 131071 : 524287); if (isSetCredentials()) hashCode = hashCode * 8191 + credentials.hashCode(); hashCode = hashCode * 8191 + ((isSetServerName()) ? 131071 : 524287); if (isSetServerName()) hashCode = hashCode * 8191 + serverName.hashCode(); hashCode = hashCode * 8191 + ((isSetSplit()) ? 131071 : 524287); if (isSetSplit()) hashCode = hashCode * 8191 + split.hashCode(); return hashCode; }