public TColumnDesc deepCopy() { return new TColumnDesc(this); }
public TColumnDesc deepCopy() { return new TColumnDesc(this); }
public TColumnDesc deepCopy() { return new TColumnDesc(this); }
public TColumnDesc deepCopy() { return new TColumnDesc(this); }
/** * Performs a deep copy on <i>other</i>. */ public TTableSchema(TTableSchema other) { if (other.isSetColumns()) { List<TColumnDesc> __this__columns = new ArrayList<TColumnDesc>(); for (TColumnDesc other_element : other.columns) { __this__columns.add(new TColumnDesc(other_element)); } this.columns = __this__columns; } }
/** * Performs a deep copy on <i>other</i>. */ public TTableSchema(TTableSchema other) { if (other.isSetColumns()) { List<TColumnDesc> __this__columns = new ArrayList<TColumnDesc>(); for (TColumnDesc other_element : other.columns) { __this__columns.add(new TColumnDesc(other_element)); } this.columns = __this__columns; } }
/** * Performs a deep copy on <i>other</i>. */ public TTableSchema(TTableSchema other) { if (other.isSetColumns()) { List<TColumnDesc> __this__columns = new ArrayList<TColumnDesc>(); for (TColumnDesc other_element : other.columns) { __this__columns.add(new TColumnDesc(other_element)); } this.columns = __this__columns; } }
/** * Performs a deep copy on <i>other</i>. */ public TTableSchema(TTableSchema other) { if (other.isSetColumns()) { List<TColumnDesc> __this__columns = new ArrayList<TColumnDesc>(); for (TColumnDesc other_element : other.columns) { __this__columns.add(new TColumnDesc(other_element)); } this.columns = __this__columns; } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TTableSchema struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list43 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.columns = new ArrayList<TColumnDesc>(_list43.size); for (int _i44 = 0; _i44 < _list43.size; ++_i44) { TColumnDesc _elem45; // optional _elem45 = new TColumnDesc(); _elem45.read(iprot); struct.columns.add(_elem45); } } struct.setColumnsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TTableSchema struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list43 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.columns = new ArrayList<TColumnDesc>(_list43.size); for (int _i44 = 0; _i44 < _list43.size; ++_i44) { TColumnDesc _elem45; // optional _elem45 = new TColumnDesc(); _elem45.read(iprot); struct.columns.add(_elem45); } } struct.setColumnsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TTableSchema struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list43 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.columns = new ArrayList<TColumnDesc>(_list43.size); for (int _i44 = 0; _i44 < _list43.size; ++_i44) { TColumnDesc _elem45; // optional _elem45 = new TColumnDesc(); _elem45.read(iprot); struct.columns.add(_elem45); } } struct.setColumnsIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TTableSchema struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { org.apache.thrift.protocol.TList _list43 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); struct.columns = new ArrayList<TColumnDesc>(_list43.size); for (int _i44 = 0; _i44 < _list43.size; ++_i44) { TColumnDesc _elem45; // optional _elem45 = new TColumnDesc(); _elem45.read(iprot); struct.columns.add(_elem45); } } struct.setColumnsIsSet(true); } }
_elem40 = new TColumnDesc(); _elem40.read(iprot); struct.columns.add(_elem40);
_elem40 = new TColumnDesc(); _elem40.read(iprot); struct.columns.add(_elem40);
_elem40 = new TColumnDesc(); _elem40.read(iprot); struct.columns.add(_elem40);
_elem40 = new TColumnDesc(); _elem40.read(iprot); struct.columns.add(_elem40);
public TColumnDesc toTColumnDesc() { TColumnDesc tColumnDesc = new TColumnDesc(); tColumnDesc.setColumnName(name); tColumnDesc.setComment(comment); tColumnDesc.setTypeDesc(type.toTTypeDesc()); tColumnDesc.setPosition(position); return tColumnDesc; }
public TColumnDesc toTColumnDesc() { TColumnDesc tColumnDesc = new TColumnDesc(); tColumnDesc.setColumnName(name); tColumnDesc.setComment(comment); tColumnDesc.setTypeDesc(type.toTTypeDesc()); tColumnDesc.setPosition(position); return tColumnDesc; }
public TColumnDesc toTColumnDesc() { TColumnDesc tColumnDesc = new TColumnDesc(); tColumnDesc.setColumnName(name); tColumnDesc.setComment(comment); tColumnDesc.setTypeDesc(type.toTTypeDesc()); tColumnDesc.setPosition(position); return tColumnDesc; }
public TColumnDesc toTColumnDesc() { TColumnDesc tColumnDesc = new TColumnDesc(); tColumnDesc.setColumnName(name); tColumnDesc.setComment(comment); tColumnDesc.setTypeDesc(type.toTTypeDesc()); tColumnDesc.setPosition(position); return tColumnDesc; }