JavaScript is disabled on your browser.
Detail:
Field |
Constr |
Method
All Superinterfaces:
MapSerializable
All Known Implementing Classes:
BiJoinStream , ClassifyStream , CloudSolrStream , CommitStream , ComplementStream , DaemonStream , ExceptionStream , ExecutorStream , FacetStream , FeaturesSelectionStream , FetchStream , GatherNodesStream , GraphHandler.DummyErrorStream , GraphHandler.TimerStream , HashJoinStream , HavingStream , InnerJoinStream , IntersectStream , JDBCStream , JoinStream , LeftOuterJoinStream , MergeStream , ModelStream , NullStream , OuterHashJoinStream , ParallelStream , PriorityStream , PushBackStream , RandomStream , RankStream , ReducerStream , RollupStream , ScoreNodesStream , SelectStream , ShortestPathStream , SolrStream , SortStream , StatsStream , StreamHandler.DaemonCollectionStream , StreamHandler.DaemonResponseStream , StreamHandler.DummyErrorStream , StreamHandler.TimerStream , TextLogitStream , TextLogitStream.TermsStream , TopicStream , Tuple , TupleStream , UniqueStream , UpdateStream
public interface MapWriter
extends MapSerializable
Use this class to push all entries of a Map into an output.
This avoids creating map instances and is supposed to be memory efficient.
If the entries are primitives, unnecessary boxing is also avoided
Nested Class Summary
Nested Classes
Modifier and Type
Interface and Description
static interface
MapWriter.EntryWriter
An interface to push one entry at a time to the output
Method Detail
toMap
default Map toMap (Map <String ,Object > map)
Use the passed map to minimize object creation.
Do not keep a reference to the passed map and reuse it.
it may be reused by the framework
Specified by:
toMap
in interface MapSerializable
Detail:
Field |
Constr |
Method