ExtractToSampleTransformer
instead@Deprecated public class ExtractToSampleTransformer extends Object implements CollectionTransformer<Extract,Sample>
ParentsTransformer
with the help of a
MultiStepCollectionTransformer
.Constructor and Description |
---|
ExtractToSampleTransformer(DbControl dc)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected ItemQuery<Sample> |
createQuery()
Deprecated.
Create a query for loading samples.
|
int |
transform(Collection<? extends Extract> extracts,
Collection<? super Sample> samples)
Deprecated.
Add all samples that are parents to any of the extracts in the
source collection.
|
private DbControl dc
public ExtractToSampleTransformer(DbControl dc)
public int transform(Collection<? extends Extract> extracts, Collection<? super Sample> samples)
transform
in interface CollectionTransformer<Extract,Sample>
extracts
- The source collectionsamples
- The destination collectionprotected ItemQuery<Sample> createQuery()
transform
method. Subclasses may override this method to create an alternate query
(for example, with more filters).