Extends
- stream.Transform
Classes
Methods
(static) filter(fn) → {RecordStream.Serializable}
Create a record stream which filters records and pass them to downstream
Parameters:
Name | Type | Description |
---|---|---|
fn |
RecordFilterFunction | Record filtering function |
- Source:
Returns:
(static) map(fn) → {RecordStream.Serializable}
Create a record stream which maps records and pass them to downstream
Parameters:
Name | Type | Description |
---|---|---|
fn |
RecordMapFunction | Record mapping function |
- Source:
Returns:
(static) recordMapStream(record, noevalopt) → {RecordStream.Serializable}
Create mapping stream using given record template
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
record |
Record | Mapping record object. In mapping field value, temlate notation can be used to refer field value in source record, if noeval param is not true. | |
noeval |
Boolean |
<optional> |
Disable template evaluation in mapping record. |
- Source:
Returns:
filter(fn) → {RecordStream}
Get record stream of queried records, applying the given filter function
Parameters:
Name | Type | Description |
---|---|---|
fn |
RecordFilterFunction | Record filtering function |
- Source:
Returns:
- Type
- RecordStream
map(fn) → {RecordStream}
Get record stream of queried records applying the given mapping function
Parameters:
Name | Type | Description |
---|---|---|
fn |
RecordMapFunction | Record mapping function |
- Source:
Returns:
- Type
- RecordStream