K
- The type of the key used in projection.V
- The type of the value used in projection.I
- The type of the index used in projection.P
- The type of the projection returned.@FunctionalInterface public static interface CorfuTable.ProjectionFunction<K,V,I,P>
NOTE: The projection function MUST return a new (preferably immutable) collection, the collection of entries passed during this function are NOT safe to use outside the context of this function.
Modifier and Type | Method and Description |
---|---|
Stream<P> |
generateProjection(I index,
Stream<Map.Entry<K,V>> entryStream) |
Copyright © 2019 CorfuDB. All rights reserved.