ExtractToSampleTransformer
instead@Deprecated public class ExtractToSampleTransformer extends java.lang.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(java.util.Collection<? extends Extract> extracts,
java.util.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(java.util.Collection<? extends Extract> extracts, java.util.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).