|
elasticsearch-hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.io.AbstractMapWritable
org.apache.hadoop.io.MapWritable
org.elasticsearch.hadoop.mr.LinkedMapWritable
public class LinkedMapWritable
Similar to MapWritable
expect that it uses a LinkedHashMap
underneath to preserve insertion order (and thus its structure). Extends MapWritable
for compatibility reasons.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
LinkedMapWritable()
Default constructor. |
|
LinkedMapWritable(MapWritable other)
Copy constructor. |
Method Summary | |
---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<Writable,Writable>> |
entrySet()
|
boolean |
equals(Object o)
|
Writable |
get(Object key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
Set<Writable> |
keySet()
|
Writable |
put(Writable key,
Writable value)
|
void |
putAll(Map<? extends Writable,? extends Writable> t)
|
void |
readFields(DataInput in)
|
Writable |
remove(Object key)
|
int |
size()
|
String |
toString()
|
Collection<Writable> |
values()
|
void |
write(DataOutput out)
|
Methods inherited from class org.apache.hadoop.io.AbstractMapWritable |
---|
addToMap, copy, getClass, getConf, getId, setConf |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LinkedMapWritable()
public LinkedMapWritable(MapWritable other)
other
- the map to copy fromMethod Detail |
---|
public void clear()
clear
in interface Map<Writable,Writable>
clear
in class MapWritable
public boolean containsKey(Object key)
containsKey
in interface Map<Writable,Writable>
containsKey
in class MapWritable
public boolean containsValue(Object value)
containsValue
in interface Map<Writable,Writable>
containsValue
in class MapWritable
public Set<Map.Entry<Writable,Writable>> entrySet()
entrySet
in interface Map<Writable,Writable>
entrySet
in class MapWritable
public Writable get(Object key)
get
in interface Map<Writable,Writable>
get
in class MapWritable
public boolean isEmpty()
isEmpty
in interface Map<Writable,Writable>
isEmpty
in class MapWritable
public Set<Writable> keySet()
keySet
in interface Map<Writable,Writable>
keySet
in class MapWritable
public Writable put(Writable key, Writable value)
put
in interface Map<Writable,Writable>
put
in class MapWritable
public void putAll(Map<? extends Writable,? extends Writable> t)
putAll
in interface Map<Writable,Writable>
putAll
in class MapWritable
public Writable remove(Object key)
remove
in interface Map<Writable,Writable>
remove
in class MapWritable
public int size()
size
in interface Map<Writable,Writable>
size
in class MapWritable
public Collection<Writable> values()
values
in interface Map<Writable,Writable>
values
in class MapWritable
public void write(DataOutput out) throws IOException
write
in interface Writable
write
in class MapWritable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface Writable
readFields
in class MapWritable
IOException
public boolean equals(Object o)
equals
in interface Map<Writable,Writable>
equals
in class Object
public int hashCode()
hashCode
in interface Map<Writable,Writable>
hashCode
in class Object
public String toString()
toString
in class Object
|
elasticsearch-hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |