public interface FieldValueCounterWriter
| Modifier and Type | Method and Description |
|---|---|
void |
decrement(String name,
String fieldName,
double score)
Decrement the FieldValueCounter for a given field name by score, creating missing counters.
|
void |
increment(String name,
String fieldName,
double score)
Increment the FieldValueCounter for a given field name by score, creating missing counters.
|
void |
reset(String name)
Reset the given FieldValueCounter.
|
void increment(String name, String fieldName, double score)
name - the FieldValueCounter namefieldName - the name of the fieldscore - the incremental valueIllegalArgumentException - in case the given name is nullvoid decrement(String name, String fieldName, double score)
name - the FieldValueCounter namefieldName - the name of the fieldscore - the decremental valueIllegalArgumentException - in case the given name is nullvoid reset(String name)
name - the FieldValueCounter nameCopyright © 2016 Pivotal Software, Inc.. All rights reserved.