/** Performs a deep copy on <i>other</i>. */
 public IndexExpression(IndexExpression other) {
   if (other.isSetColumn_name()) {
     this.column_name = org.apache.thrift.TBaseHelper.copyBinary(other.column_name);
     ;
   }
   if (other.isSetOp()) {
     this.op = other.op;
   }
   if (other.isSetValue()) {
     this.value = org.apache.thrift.TBaseHelper.copyBinary(other.value);
     ;
   }
 }
 /** Performs a deep copy on <i>other</i>. */
 public DadoTransporteThrift(DadoTransporteThrift other) {
   __isset_bitfield = other.__isset_bitfield;
   if (other.isSetUuidDadoSerializado()) {
     this.uuidDadoSerializado = other.uuidDadoSerializado;
   }
   this.tipoDadoSerializado = other.tipoDadoSerializado;
   if (other.isSetCnesDadoSerializado()) {
     this.cnesDadoSerializado = other.cnesDadoSerializado;
   }
   if (other.isSetCodIbge()) {
     this.codIbge = other.codIbge;
   }
   if (other.isSetIneDadoSerializado()) {
     this.ineDadoSerializado = other.ineDadoSerializado;
   }
   this.numLote = other.numLote;
   if (other.isSetDadoSerializado()) {
     this.dadoSerializado = org.apache.thrift.TBaseHelper.copyBinary(other.dadoSerializado);
   }
   if (other.isSetRemetente()) {
     this.remetente = new DadoInstalacaoThrift(other.remetente);
   }
   if (other.isSetOriginadora()) {
     this.originadora = new DadoInstalacaoThrift(other.originadora);
   }
   if (other.isSetVersao()) {
     this.versao =
         new br.gov.saude.esus.transport.common.api.configuracaodestino.VersaoThrift(other.versao);
   }
 }
Beispiel #3
0
 public TCredentials(
     String principal, String tokenClassName, ByteBuffer token, String instanceId) {
   this();
   this.principal = principal;
   this.tokenClassName = tokenClassName;
   this.token = org.apache.thrift.TBaseHelper.copyBinary(token);
   this.instanceId = instanceId;
 }
Beispiel #4
0
 public ByteBuffer buffer_for_custom_serialized() {
   if (getSetField() == _Fields.CUSTOM_SERIALIZED) {
     return org.apache.thrift.TBaseHelper.copyBinary((ByteBuffer) getFieldValue());
   } else {
     throw new RuntimeException(
         "Cannot get field 'custom_serialized' because union is currently set to "
             + getFieldDesc(getSetField()).name);
   }
 }
Beispiel #5
0
 /** Performs a deep copy on <i>other</i>. */
 public TI16Column(TI16Column other) {
   if (other.isSetValues()) {
     List<Short> __this__values = new ArrayList<Short>(other.values);
     this.values = __this__values;
   }
   if (other.isSetNulls()) {
     this.nulls = org.apache.thrift.TBaseHelper.copyBinary(other.nulls);
     ;
   }
 }
Beispiel #6
0
 /** Performs a deep copy on <i>other</i>. */
 public TKey(TKey other) {
   __isset_bitfield = other.__isset_bitfield;
   if (other.isSetRow()) {
     this.row = org.apache.thrift.TBaseHelper.copyBinary(other.row);
     ;
   }
   if (other.isSetColFamily()) {
     this.colFamily = org.apache.thrift.TBaseHelper.copyBinary(other.colFamily);
     ;
   }
   if (other.isSetColQualifier()) {
     this.colQualifier = org.apache.thrift.TBaseHelper.copyBinary(other.colQualifier);
     ;
   }
   if (other.isSetColVisibility()) {
     this.colVisibility = org.apache.thrift.TBaseHelper.copyBinary(other.colVisibility);
     ;
   }
   this.timestamp = other.timestamp;
 }
Beispiel #7
0
 /** Performs a deep copy on <i>other</i>. */
 public TCredentials(TCredentials other) {
   if (other.isSetPrincipal()) {
     this.principal = other.principal;
   }
   if (other.isSetTokenClassName()) {
     this.tokenClassName = other.tokenClassName;
   }
   if (other.isSetToken()) {
     this.token = org.apache.thrift.TBaseHelper.copyBinary(other.token);
   }
   if (other.isSetInstanceId()) {
     this.instanceId = other.instanceId;
   }
 }
 public DadoTransporteThrift(
     String uuidDadoSerializado,
     long tipoDadoSerializado,
     String cnesDadoSerializado,
     ByteBuffer dadoSerializado,
     DadoInstalacaoThrift remetente,
     DadoInstalacaoThrift originadora) {
   this();
   this.uuidDadoSerializado = uuidDadoSerializado;
   this.tipoDadoSerializado = tipoDadoSerializado;
   setTipoDadoSerializadoIsSet(true);
   this.cnesDadoSerializado = cnesDadoSerializado;
   this.dadoSerializado = org.apache.thrift.TBaseHelper.copyBinary(dadoSerializado);
   this.remetente = remetente;
   this.originadora = originadora;
 }
Beispiel #9
0
 /** Performs a deep copy on <i>other</i>. */
 public TRowSet(TRowSet other) {
   __isset_bitfield = other.__isset_bitfield;
   this.startRowOffset = other.startRowOffset;
   if (other.isSetRows()) {
     List<TRow> __this__rows = new ArrayList<TRow>(other.rows.size());
     for (TRow other_element : other.rows) {
       __this__rows.add(new TRow(other_element));
     }
     this.rows = __this__rows;
   }
   if (other.isSetColumns()) {
     List<TColumn> __this__columns = new ArrayList<TColumn>(other.columns.size());
     for (TColumn other_element : other.columns) {
       __this__columns.add(new TColumn(other_element));
     }
     this.columns = __this__columns;
   }
   if (other.isSetBinaryColumns()) {
     this.binaryColumns = org.apache.thrift.TBaseHelper.copyBinary(other.binaryColumns);
   }
   this.columnCount = other.columnCount;
 }
Beispiel #10
0
 public TCell setValue(ByteBuffer value) {
   this.value = org.apache.thrift.TBaseHelper.copyBinary(value);
   return this;
 }
Beispiel #11
0
 public ByteBuffer bufferForValue() {
   return org.apache.thrift.TBaseHelper.copyBinary(value);
 }
Beispiel #12
0
 public TCell(ByteBuffer value, long timestamp) {
   this();
   this.value = org.apache.thrift.TBaseHelper.copyBinary(value);
   this.timestamp = timestamp;
   setTimestampIsSet(true);
 }
 public void setDadoSerializado(ByteBuffer dadoSerializado) {
   this.dadoSerializado = org.apache.thrift.TBaseHelper.copyBinary(dadoSerializado);
 }
 public ByteBuffer bufferForDadoSerializado() {
   return org.apache.thrift.TBaseHelper.copyBinary(dadoSerializado);
 }
Beispiel #15
0
 public void setBinaryColumns(ByteBuffer binaryColumns) {
   this.binaryColumns = org.apache.thrift.TBaseHelper.copyBinary(binaryColumns);
 }
Beispiel #16
0
 public ByteBuffer bufferForBinaryColumns() {
   return org.apache.thrift.TBaseHelper.copyBinary(binaryColumns);
 }
Beispiel #17
0
 public TCredentials setToken(ByteBuffer token) {
   this.token = org.apache.thrift.TBaseHelper.copyBinary(token);
   return this;
 }
Beispiel #18
0
 public ByteBuffer bufferForToken() {
   return org.apache.thrift.TBaseHelper.copyBinary(token);
 }