storm.trident.tuple
Class TridentTupleView
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Object>
storm.trident.tuple.TridentTupleView
- All Implemented Interfaces:
- Iterable<Object>, Collection<Object>, List<Object>, TridentTuple
public class TridentTupleView
- extends AbstractList<Object>
- implements TridentTuple
| Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
EMPTY_TUPLE
public static TridentTupleView EMPTY_TUPLE
TridentTupleView
public TridentTupleView(clojure.lang.IPersistentVector delegates,
ValuePointer[] index,
Map<String,ValuePointer> fieldIndex)
getValues
public List<Object> getValues()
- Specified by:
getValues in interface TridentTuple
size
public int size()
- Specified by:
size in interface Collection<Object>- Specified by:
size in interface List<Object>- Specified by:
size in class AbstractCollection<Object>
get
public Object get(int i)
- Specified by:
get in interface List<Object>- Specified by:
get in class AbstractList<Object>
getValue
public Object getValue(int i)
- Specified by:
getValue in interface TridentTuple
getString
public String getString(int i)
- Specified by:
getString in interface TridentTuple
getInteger
public Integer getInteger(int i)
- Specified by:
getInteger in interface TridentTuple
getLong
public Long getLong(int i)
- Specified by:
getLong in interface TridentTuple
getBoolean
public Boolean getBoolean(int i)
- Specified by:
getBoolean in interface TridentTuple
getShort
public Short getShort(int i)
- Specified by:
getShort in interface TridentTuple
getByte
public Byte getByte(int i)
- Specified by:
getByte in interface TridentTuple
getDouble
public Double getDouble(int i)
- Specified by:
getDouble in interface TridentTuple
getFloat
public Float getFloat(int i)
- Specified by:
getFloat in interface TridentTuple
getBinary
public byte[] getBinary(int i)
- Specified by:
getBinary in interface TridentTuple
getValueByField
public Object getValueByField(String field)
- Specified by:
getValueByField in interface TridentTuple
getStringByField
public String getStringByField(String field)
- Specified by:
getStringByField in interface TridentTuple
getIntegerByField
public Integer getIntegerByField(String field)
- Specified by:
getIntegerByField in interface TridentTuple
getLongByField
public Long getLongByField(String field)
- Specified by:
getLongByField in interface TridentTuple
getBooleanByField
public Boolean getBooleanByField(String field)
- Specified by:
getBooleanByField in interface TridentTuple
getShortByField
public Short getShortByField(String field)
- Specified by:
getShortByField in interface TridentTuple
getByteByField
public Byte getByteByField(String field)
- Specified by:
getByteByField in interface TridentTuple
getDoubleByField
public Double getDoubleByField(String field)
- Specified by:
getDoubleByField in interface TridentTuple
getFloatByField
public Float getFloatByField(String field)
- Specified by:
getFloatByField in interface TridentTuple
getBinaryByField
public byte[] getBinaryByField(String field)
- Specified by:
getBinaryByField in interface TridentTuple
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.