@Override public AlterTableDesc clone() throws CloneNotSupportedException { AlterTableDesc newAlter = (AlterTableDesc) super.clone(); newAlter.alterTableType = alterTableType; newAlter.tableName = tableName; newAlter.newTableName = newTableName; newAlter.columnName = newColumnName; newAlter.addColumn = addColumn; newAlter.partitionDesc = partitionDesc; newAlter.properties = (KeyValueSet)properties.clone(); newAlter.newTablePath = URI.create(newTablePath.toString()); return newAlter; }
@Override public AlterTableDesc clone() throws CloneNotSupportedException { AlterTableDesc newAlter = (AlterTableDesc) super.clone(); newAlter.alterTableType = alterTableType; newAlter.tableName = tableName; newAlter.newTableName = newTableName; newAlter.columnName = newColumnName; newAlter.addColumn = addColumn; newAlter.partitionDesc = partitionDesc; newAlter.properties = (KeyValueSet)properties.clone(); newAlter.unsetPropertyKeys = Sets.newHashSet(unsetPropertyKeys); newAlter.newTablePath = URI.create(newTablePath.toString()); return newAlter; }
@Override public Object clone() throws CloneNotSupportedException { PersistentStoreNode store = (PersistentStoreNode) super.clone(); store.storageType = storageType != null ? storageType : null; store.options = options != null ? (KeyValueSet) options.clone() : null; return store; } }
@Override public Object clone() throws CloneNotSupportedException { PersistentStoreNode store = (PersistentStoreNode) super.clone(); store.storageType = storageType != null ? storageType : null; store.options = options != null ? (KeyValueSet) options.clone() : null; return store; } }
@Override public Object clone() throws CloneNotSupportedException { TableMeta meta = (TableMeta) super.clone(); meta.dataFormat = getDataFormat(); meta.options = (KeyValueSet) (toMap() != null ? options.clone() : null); return meta; }
@Override public Object clone() throws CloneNotSupportedException { TableMeta meta = (TableMeta) super.clone(); meta.dataFormat = getDataFormat(); meta.propertySet = (KeyValueSet) (toMap() != null ? propertySet.clone() : null); return meta; }