storm.trident.tuple
Class TridentTupleView
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<java.lang.Object>
storm.trident.tuple.TridentTupleView
- All Implemented Interfaces:
- java.lang.Iterable<java.lang.Object>, java.util.Collection<java.lang.Object>, java.util.List<java.lang.Object>, TridentTuple
public class TridentTupleView
- extends java.util.AbstractList<java.lang.Object>
- implements TridentTuple
Fields inherited from class java.util.AbstractList |
modCount |
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 class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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(IPersistentVector delegates,
ValuePointer[] index,
java.util.Map<java.lang.String,ValuePointer> fieldIndex)
getValues
public java.util.List<java.lang.Object> getValues()
- Specified by:
getValues
in interface TridentTuple
size
public int size()
- Specified by:
size
in interface java.util.Collection<java.lang.Object>
- Specified by:
size
in interface java.util.List<java.lang.Object>
- Specified by:
size
in class java.util.AbstractCollection<java.lang.Object>
get
public java.lang.Object get(int i)
- Specified by:
get
in interface java.util.List<java.lang.Object>
- Specified by:
get
in class java.util.AbstractList<java.lang.Object>
getValue
public java.lang.Object getValue(int i)
- Specified by:
getValue
in interface TridentTuple
getString
public java.lang.String getString(int i)
- Specified by:
getString
in interface TridentTuple
getInteger
public java.lang.Integer getInteger(int i)
- Specified by:
getInteger
in interface TridentTuple
getLong
public java.lang.Long getLong(int i)
- Specified by:
getLong
in interface TridentTuple
getBoolean
public java.lang.Boolean getBoolean(int i)
- Specified by:
getBoolean
in interface TridentTuple
getShort
public java.lang.Short getShort(int i)
- Specified by:
getShort
in interface TridentTuple
getByte
public java.lang.Byte getByte(int i)
- Specified by:
getByte
in interface TridentTuple
getDouble
public java.lang.Double getDouble(int i)
- Specified by:
getDouble
in interface TridentTuple
getFloat
public java.lang.Float getFloat(int i)
- Specified by:
getFloat
in interface TridentTuple
getBinary
public byte[] getBinary(int i)
- Specified by:
getBinary
in interface TridentTuple
getValueByField
public java.lang.Object getValueByField(java.lang.String field)
- Specified by:
getValueByField
in interface TridentTuple
getStringByField
public java.lang.String getStringByField(java.lang.String field)
- Specified by:
getStringByField
in interface TridentTuple
getIntegerByField
public java.lang.Integer getIntegerByField(java.lang.String field)
- Specified by:
getIntegerByField
in interface TridentTuple
getLongByField
public java.lang.Long getLongByField(java.lang.String field)
- Specified by:
getLongByField
in interface TridentTuple
getBooleanByField
public java.lang.Boolean getBooleanByField(java.lang.String field)
- Specified by:
getBooleanByField
in interface TridentTuple
getShortByField
public java.lang.Short getShortByField(java.lang.String field)
- Specified by:
getShortByField
in interface TridentTuple
getByteByField
public java.lang.Byte getByteByField(java.lang.String field)
- Specified by:
getByteByField
in interface TridentTuple
getDoubleByField
public java.lang.Double getDoubleByField(java.lang.String field)
- Specified by:
getDoubleByField
in interface TridentTuple
getFloatByField
public java.lang.Float getFloatByField(java.lang.String field)
- Specified by:
getFloatByField
in interface TridentTuple
getBinaryByField
public byte[] getBinaryByField(java.lang.String field)
- Specified by:
getBinaryByField
in interface TridentTuple