Class Canonicalizer<T>
- java.lang.Object
-
- org.apache.parquet.hadoop.metadata.Canonicalizer<T>
-
- Type Parameters:
T- the type of values canonicalized by subclasses
public class Canonicalizer<T> extends Object
returns canonical representation of objects (similar to String.intern()) to save memory if a.equals(b) then canonicalize(a) == canonicalize(b) this class is thread safe
-
-
Constructor Summary
Constructors Constructor Description Canonicalizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcanonicalize(T value)protected TtoCanonical(T value)
-