public interface EsTupleMapper extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getId(ITuple tuple)
Extracts id from tuple.
|
String |
getIndex(ITuple tuple)
Extracts index from tuple.
|
Map<String,String> |
getParams(ITuple tuple,
Map<String,String> defaultValue)
Extracts params from tuple if available.
|
String |
getSource(ITuple tuple)
Extracts source from tuple.
|
String |
getType(ITuple tuple)
Extracts type from tuple.
|
String getSource(ITuple tuple)
tuple
- source tupleString getIndex(ITuple tuple)
tuple
- source tupleString getType(ITuple tuple)
tuple
- source tupleString getId(ITuple tuple)
tuple
- source tupleCopyright © 2023 The Apache Software Foundation. All rights reserved.