public class NoSQLMajorKeyEntryGrouper extends java.lang.Object implements NoSQLEntryGrouper
Constructor and Description |
---|
NoSQLMajorKeyEntryGrouper() |
Modifier and Type | Method and Description |
---|---|
boolean |
group(KeyValueVersion previousEntry, KeyValueVersion currentEntry, NoSQLContext context)
Returns true if the two given entries belong to the same record
|
void |
init(NoSQLConfiguration kvConf)
Initializes the current entry grouper using the given
NoSQLConfiguration |
public boolean group(KeyValueVersion previousEntry, KeyValueVersion currentEntry, NoSQLContext context)
NoSQLEntryGrouper
group
in interface NoSQLEntryGrouper
previousEntry
- an entry processed previouslycurrentEntry
- a newly arrived entrycontext
- the current NoSQLContext
public void init(NoSQLConfiguration kvConf)
NoSQLEntryGrouper
NoSQLConfiguration
init
in interface NoSQLEntryGrouper
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.