net.sf.basedb.clients.migrate
Class ArrayBatchTransfer
java.lang.Object
net.sf.basedb.clients.migrate.Manager
net.sf.basedb.clients.migrate.Transfer
net.sf.basedb.clients.migrate.SharedItemTransfer
net.sf.basedb.clients.migrate.CommonItemTransfer
net.sf.basedb.clients.migrate.ArrayBatchTransfer
public class ArrayBatchTransfer
- extends CommonItemTransfer
- Base 1 tables
- ArrayBatch
- Unused columns
- addedDate, printStartDate, printEndDate
- Notes
-
- ArrayType is named ArrayDesign in BASE 2.
- Hardware used for each array batch is not available in base 1.
- Notes are merged with description
- surfaceType is an annotation
- Version:
- 2.0
- Author:
- Gregory
- Last modified
- $Date: 2008-09-11 22:05:50 +0200 (Thu, 11 Sep 2008) $
Fields inherited from class net.sf.basedb.clients.migrate.Transfer |
BASE2, FROM, itemList, LIMIT, LOCAL_MYSQL_TRANSFER, mapIds, progress, properties, QUICK_TRANSFER, selectOffset, sessionControl, TO |
Methods inherited from class net.sf.basedb.clients.migrate.Transfer |
cleanUpMemory, commit, createItem, dependencyFailure, done, getBase2Id, getBatchSize, getCount, getDependencyStatus, getIdMap, getInt, getProperty, initIdMap, isDone, mapId, newDbControl, readRestorePointData, run, run, runUnBatched, saveItem, setup, startProgress, writeRestorePointData |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
protocolT
private ProtocolTransfer protocolT
arrayTypeT
private ArrayTypeTransfer arrayTypeT
surfaceType
private AnnotationType surfaceType
log
private static final Logger log
- Logger for this class
ArrayBatchTransfer
ArrayBatchTransfer(UserTransfer userT,
GroupTransfer groupT,
ProtocolTransfer protocolT,
ArrayTypeTransfer arrayTypeT)
- Parameters:
userT
- A finished UserTransfer
groupT
- A finished GroupTransfer
protocolT
- A finished ProtocolTransfer
arrayTypeT
- A finished ArrayTypeTransfer
start
public void start()
- Description copied from class:
Transfer
- Starts the actual transfer.
- Specified by:
start
in class Transfer
createItem
protected void createItem(ResultSet rs)
throws BaseException,
SQLException
- Creates an
ArrayBatch
from the current position in the
ResultSet
.
- Overrides:
createItem
in class Transfer
- Parameters:
rs
- ResultSet
containing data for this item.
- Throws:
BaseException
SQLException
- If current ResultSet position is invalid or number
of columns in the select statement is to low.
getArrayBatchById
public ArrayBatch getArrayBatchById(DbControl dbc,
int base1BatchId)
- Parameters:
dbc
- DbControl used to get the ArrayBatchbase1BatchId
-
- Returns:
- ArrayBatch or null if no array batch is found matching the
provided base1BatchId