public interface EsTupleMapper extends Serializable
TupleMapper defines how to extract source, index, type, and id from tuple for ElasticSearch.
Modifier and Type | Method and Description |
---|---|
String |
getId(ITuple tuple)
Extracts id from tuple.
|
String |
getIndex(ITuple tuple)
Extracts index from tuple.
|
String |
getSource(ITuple tuple)
Extracts source from tuple.
|
String |
getType(ITuple tuple)
Extracts type from tuple.
|
String getSource(ITuple tuple)
Extracts source from tuple.
tuple
- source tupleString getIndex(ITuple tuple)
Extracts index from tuple.
tuple
- source tupleString getType(ITuple tuple)
Extracts type from tuple.
tuple
- source tupleCopyright © 2016 The Apache Software Foundation. All Rights Reserved.