public void setTxnid(long txnid) { this.txnid = txnid; setTxnidIsSet(true); }
@Override public void clear() { setTxnidIsSet(false); this.txnid = 0; setWriteidIsSet(false); this.writeid = 0; this.dbname = null; this.tablename = null; this.partitionnames = null; this.operationType = org.apache.hadoop.hive.metastore.api.DataOperationType.UNSET; }
public AddDynamicPartitions( long txnid, long writeid, String dbname, String tablename, List<String> partitionnames) { this(); this.txnid = txnid; setTxnidIsSet(true); this.writeid = writeid; setWriteidIsSet(true); this.dbname = dbname; this.tablename = tablename; this.partitionnames = partitionnames; }
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); struct.writeid = iprot.readI64(); struct.setWriteidIsSet(true); struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partitionnames = new ArrayList<String>(_list745.size); String _elem746; for (int _i747 = 0; _i747 < _list745.size; ++_i747) { _elem746 = iprot.readString(); struct.partitionnames.add(_elem746); } } struct.setPartitionnamesIsSet(true); BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.operationType = org.apache.hadoop.hive.metastore.api.DataOperationType.findByValue(iprot.readI32()); struct.setOperationTypeIsSet(true); } } }
public AddDynamicPartitions( long txnid, String dbname, String tablename, List<String> partitionnames) { this(); this.txnid = txnid; setTxnidIsSet(true); this.dbname = dbname; this.tablename = tablename; this.partitionnames = partitionnames; }
public void setTxnid(long txnid) { this.txnid = txnid; setTxnidIsSet(true); }
public void setTxnid(long txnid) { this.txnid = txnid; setTxnidIsSet(true); }
@Override public void clear() { setTxnidIsSet(false); this.txnid = 0; this.dbname = null; this.tablename = null; this.partitionnames = null; }
@Override public void clear() { setTxnidIsSet(false); this.txnid = 0; this.dbname = null; this.tablename = null; this.partitionnames = null; }
public AddDynamicPartitions( long txnid, String dbname, String tablename, List<String> partitionnames) { this(); this.txnid = txnid; setTxnidIsSet(true); this.dbname = dbname; this.tablename = tablename; this.partitionnames = partitionnames; }
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@Override public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partitionnames = new ArrayList<String>(_list497.size); for (int _i498 = 0; _i498 < _list497.size; ++_i498) { String _elem499; // optional _elem499 = iprot.readString(); struct.partitionnames.add(_elem499); } } struct.setPartitionnamesIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); struct.partitionnames = new ArrayList<String>(_list497.size); for (int _i498 = 0; _i498 < _list497.size; ++_i498) { String _elem499; // optional _elem499 = iprot.readString(); struct.partitionnames.add(_elem499); } } struct.setPartitionnamesIsSet(true); } }