| Package | Description |
|---|---|
| com.indeed.mph |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MphMap<K,V> |
MphMap.deserialize(java.io.InputStream in)
Static constructor to deserialize an MphMap.
|
static <K,V> MphMap<K,V> |
MphMap.fromKeyValues(TableConfig<K,V> config,
java.lang.Iterable<com.indeed.util.core.Pair<K,V>> entries)
Static constructor to build a table from key/value pairs, as
would be passed to the
TableWriter constructor. |
static <K,V> MphMap<K,V> |
MphMap.fromMap(TableConfig<K,V> config,
java.util.Map<K,V> entries)
Static constructor to build a table from another Map.
|
static <K,V> MphMap<K,V> |
MphMap.load(java.io.File metaPath) |
static <K,V> MphMap<K,V> |
MphMap.load(java.io.File metaPath,
java.io.File offsetsPath,
java.io.File dataPath)
Static constructor to load a disk-based mph table (as created
by
TableWriter) into memory. |
| Constructor and Description |
|---|
MphMapEntryIterator(MphMap<K,V> mphMap) |
MphMapEntrySet(MphMap<K,V> mphMap) |
Copyright © 2018. All Rights Reserved.