Package org.apache.storm.tuple
Class Fields
- java.lang.Object
-
- org.apache.storm.tuple.Fields
-
- All Implemented Interfaces:
Serializable,Iterable<String>
public class Fields extends Object implements Iterable<String>, Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(String field)Returns true if this contains the specified name of the field.intfieldIndex(String field)Returns the position of the specified field.Stringget(int index)org.apache.heron.api.tuple.FieldsgetDelegate()Iterator<String>iterator()List<Object>select(Fields selector, List<Object> tuple)intsize()List<String>toList()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
size
public int size()
-
get
public String get(int index)
-
fieldIndex
public int fieldIndex(String field)
Returns the position of the specified field.
-
contains
public boolean contains(String field)
Returns true if this contains the specified name of the field.
-
getDelegate
public org.apache.heron.api.tuple.Fields getDelegate()
-
-