public final class EmailUtility extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EmailUtility.Counters |
Modifier and Type | Field and Description |
---|---|
static String |
FROM_INDEX |
static String |
FROM_PREFIX |
static String |
MSG_ID_DIMENSION |
static String |
MSG_IDS_PREFIX |
static String |
REFS_INDEX |
static String |
SEPARATOR |
static Pattern |
WHITESPACE |
Modifier and Type | Method and Description |
---|---|
static String |
cleanUpEmailAddress(CharSequence address)
Strip off some spurious characters that make it harder to dedup
|
static void |
loadDictionaries(org.apache.hadoop.conf.Configuration conf,
String fromPrefix,
OpenObjectIntHashMap<String> fromDictionary,
String msgIdPrefix,
OpenObjectIntHashMap<String> msgIdDictionary) |
static String[] |
parseReferences(CharSequence rawRefs) |
public static final String SEPARATOR
public static final String MSG_IDS_PREFIX
public static final String FROM_PREFIX
public static final String MSG_ID_DIMENSION
public static final String FROM_INDEX
public static final String REFS_INDEX
public static final Pattern WHITESPACE
public static String cleanUpEmailAddress(CharSequence address)
public static void loadDictionaries(org.apache.hadoop.conf.Configuration conf, String fromPrefix, OpenObjectIntHashMap<String> fromDictionary, String msgIdPrefix, OpenObjectIntHashMap<String> msgIdDictionary) throws IOException
IOException
public static String[] parseReferences(CharSequence rawRefs)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.