public class AggregateConfigurableDataSource<T extends Output<T>> extends Object implements ConfigurableDataSource<T>
ConfigurableDataSource
s, uses AggregateDataSource.IterationOrder
to control the
iteration order.
Identical to AggregateDataSource
except it can be configured.
Modifier and Type | Class and Description |
---|---|
static class |
AggregateConfigurableDataSource.AggregateConfigurableDataSourceProvenance
Provenance for the
AggregateConfigurableDataSource . |
Constructor and Description |
---|
AggregateConfigurableDataSource(List<ConfigurableDataSource<T>> sources)
Creates an aggregate data source which will iterate the provided
sources in the order of the list (i.e., using
AggregateDataSource.IterationOrder.SEQUENTIAL . |
AggregateConfigurableDataSource(List<ConfigurableDataSource<T>> sources,
AggregateDataSource.IterationOrder order)
Creates an aggregate data source using the supplied sources and iteration order.
|
Modifier and Type | Method and Description |
---|---|
OutputFactory<T> |
getOutputFactory()
Returns the OutputFactory associated with this Output subclass.
|
DataSourceProvenance |
getProvenance() |
Iterator<Example<T>> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public AggregateConfigurableDataSource(List<ConfigurableDataSource<T>> sources)
AggregateDataSource.IterationOrder.SEQUENTIAL
.sources
- The sources to aggregate.public AggregateConfigurableDataSource(List<ConfigurableDataSource<T>> sources, AggregateDataSource.IterationOrder order)
sources
- The sources to iterate.order
- The iteration order.public OutputFactory<T> getOutputFactory()
DataSource
getOutputFactory
in interface DataSource<T extends Output<T>>
public DataSourceProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<DataSourceProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.