public class UniqueHashCode extends CellProcessorAdaptor
Unique this processor is much more memory efficient as it only stores the set of encountered
hashcodes rather than storing references to all encountered objects. The tradeoff being possible false positives.
Prior to v1.50 this class was named Unique but has been renamed to clarify its inner workings.
|Constructor and Description|
Constructs a new UniqueHashCode processor, which ensures that all rows in a column are unique.
Constructs a new UniqueHashCode processor, which ensures that all rows in a column are unique, then calls the next processor in the chain.
|Modifier and Type||Method and Description|
This method is invoked by the framework when the processor needs to process data or check constraints.
public Object execute(Object value, CsvContext context)
Copyright © 2007–2015 Super CSV. All rights reserved.