public TabletSplit deepCopy() { return new TabletSplit(this); }
@Override public void send(TCredentials credentials, String serverName, MasterClientService.Iface client) throws TException, ThriftSecurityException { TabletSplit split = new TabletSplit(); split.oldTablet = old_extent.toThrift(); split.newTablets = Translator.translate(extents.keySet(), Translators.KET); client.reportSplitExtent(Tracer.traceInfo(), credentials, serverName, split); }
case 3: // SPLIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.split = new TabletSplit(); struct.split.read(iprot); struct.setSplitIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, reportSplitExtent_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(); struct.credentials.read(iprot); struct.setCredentialsIsSet(true); } if (incoming.get(2)) { struct.serverName = iprot.readString(); struct.setServerNameIsSet(true); } if (incoming.get(3)) { struct.split = new TabletSplit(); struct.split.read(iprot); struct.setSplitIsSet(true); } } }
/** * 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); } }
public TabletSplit deepCopy() { return new TabletSplit(this); }
public void send(TCredentials credentials, String serverName, MasterClientService.Iface client) throws TException, ThriftSecurityException { TabletSplit split = new TabletSplit(); split.oldTablet = old_extent.toThrift(); split.newTablets = Translator.translate(extents.keySet(), Translators.KET); client.reportSplitExtent(Tracer.traceInfo(), credentials, serverName, split); }
@Override public void send(TCredentials credentials, String serverName, MasterClientService.Iface client) throws TException, ThriftSecurityException { TabletSplit split = new TabletSplit(); split.oldTablet = old_extent.toThrift(); split.newTablets = Translator.translate(extents.keySet(), Translators.KET); client.reportSplitExtent(Tracer.traceInfo(), credentials, serverName, split); }
case 3: // SPLIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.split = new TabletSplit(); struct.split.read(iprot); struct.setSplitIsSet(true);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, reportSplitExtent_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { struct.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(); struct.tinfo.read(iprot); struct.setTinfoIsSet(true); } if (incoming.get(1)) { struct.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(); struct.credentials.read(iprot); struct.setCredentialsIsSet(true); } if (incoming.get(2)) { struct.serverName = iprot.readString(); struct.setServerNameIsSet(true); } if (incoming.get(3)) { struct.split = new TabletSplit(); struct.split.read(iprot); struct.setSplitIsSet(true); } } }
/** * 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); } }