Package org.drools.ruleunits.api
Interface DataSource<T>
-
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
DataStore<T>,DataStream<T>,SingletonStore<T>
public interface DataSource<T> extends Iterable<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceDataSource.Factorystatic classDataSource.FactoryHolder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static <T> SingletonStore<T>createSingleton()static <T> DataStore<T>createStore()static <T> DataStream<T>createStream()default Iterator<T>iterator()voidsubscribe(DataProcessor<T> subscriber)-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
subscribe
void subscribe(DataProcessor<T> subscriber)
-
createStream
static <T> DataStream<T> createStream()
-
createStore
static <T> DataStore<T> createStore()
-
createSingleton
static <T> SingletonStore<T> createSingleton()
-
-