Interface ResultStreamer<D,C,T>
- Type Parameters:
D- The domain type such as QuadC- The component type such as NodeT- The tuple type such as Tuple
- All Known Implementing Classes:
ResultStreamerFromComponent,ResultStreamerFromDomain,ResultStreamerFromTuple
public interface ResultStreamer<D,C,T>
A class that acts as a factory for producing streams for the different aspects of tuples.
Specializations should convert between domain, tuple and component view whenever applicable.
Examples: A component can be converted to a 1-tuple and vice versa.
A quad can be converted to a four tuple and vice versa.
- Author:
- Claus Stadler 11/09/2020
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnum to describe whether an instance is backed by domain tuples, components or generic tuples. -
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getBackingType
ResultStreamer.BackingType getBackingType() -
streamAsDomainObject
-
streamAsComponent
-
streamAsTuple
-