public class Tuple extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
boolean |
EOF
When EOF field is true the Tuple marks the end of the stream.
|
boolean |
EXCEPTION |
Map |
fields |
Modifier and Type | Method and Description |
---|---|
Tuple |
clone() |
Object |
get(Object key) |
Boolean |
getBool(Object key) |
List<Boolean> |
getBools(Object key) |
Date |
getDate(Object key) |
List<Date> |
getDates(Object key) |
Double |
getDouble(Object key) |
List<Double> |
getDoubles(Object key) |
String |
getException() |
Long |
getLong(Object key) |
List<Long> |
getLongs(Object key) |
Map |
getMap() |
List<Map> |
getMaps(Object key) |
Map<String,Map> |
getMetrics() |
String |
getString(Object key) |
List<String> |
getStrings(Object key) |
void |
merge(Tuple other) |
void |
put(Object key,
Object value) |
void |
remove(Object key) |
void |
setMaps(Object key,
List<Map> maps) |
void |
setMetrics(Map<String,Map> metrics) |
public boolean EOF
public boolean EXCEPTION
public Map fields
public Tuple(Map fields)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.