Package org.apache.storm.trident.tuple
Class TridentTupleView.ProjectionFactory
- java.lang.Object
-
- org.apache.storm.trident.tuple.TridentTupleView.ProjectionFactory
-
- All Implemented Interfaces:
Serializable
,TridentTuple.Factory
- Enclosing class:
- TridentTupleView
public static class TridentTupleView.ProjectionFactory extends Object implements TridentTuple.Factory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProjectionFactory(TridentTuple.Factory parent, Fields projectFields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TridentTuple
create(TridentTuple parent)
Map<String,ValuePointer>
getFieldIndex()
List<String>
getOutputFields()
int
numDelegates()
-
-
-
Constructor Detail
-
ProjectionFactory
public ProjectionFactory(TridentTuple.Factory parent, Fields projectFields)
-
-
Method Detail
-
create
public TridentTuple create(TridentTuple parent)
-
getFieldIndex
public Map<String,ValuePointer> getFieldIndex()
- Specified by:
getFieldIndex
in interfaceTridentTuple.Factory
-
numDelegates
public int numDelegates()
- Specified by:
numDelegates
in interfaceTridentTuple.Factory
-
getOutputFields
public List<String> getOutputFields()
- Specified by:
getOutputFields
in interfaceTridentTuple.Factory
-
-