trait FeatureReducer extends SerializableState
Client-side reduce for the results of a scan. Must have a zero-arg constructor to allow re-creation from a serialized form.
Reducers are encouraged to also allow direct instantiation via an alternate constructor, as serialization is generally only used for map/reduce jobs. Similarly, state is encouraged to be lazily evaluated.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- FeatureReducer
- SerializableState
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
apply(features: CloseableIterator[SimpleFeature]): CloseableIterator[SimpleFeature]
Reduce the results of a scan
Reduce the results of a scan
- features
features
-
abstract
def
init(state: Map[String, String]): Unit
Initialize an instance after deserialization
-
abstract
def
state: Map[String, String]
The state used to serialize this instance
The state used to serialize this instance
- Definition Classes
- SerializableState
Concrete Value Members
-
def
toString(): String
- Definition Classes
- FeatureReducer → AnyRef → Any