A source that uses a Collection<Map> as its source for rows. For example,
from([
[id: 1, name: 'Bill Rhodes', age: 53, gender: 'male'],
[id: 2, name: 'Cheryl Lipscome', age: 43, gender: 'female'],
[id: 3, name: 'Diana Rogers', age: 34, gender: 'female'],
[id: 4, name: 'Jack Lowland', age: 25, gender: 'male'],
[id: 5, name: 'Ginger Rogers', age: 83, gender: 'female']
])
.filter({ Map row -> row.age > 40 }
.go
| Type | Name and description |
|---|---|
java.lang.Iterable<java.util.Map> |
source |
| Constructor and description |
|---|
CollectionSource
(java.lang.Iterable<java.util.Map> source) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
doStart(Pipeline pipeline) |
|
static Pipeline |
from(java.util.Map... src) |
|
static Pipeline |
from(java.lang.Iterable<java.util.Map> src) |
|
static CollectionSource |
of(java.util.Map... src) |
|
static CollectionSource |
of(java.lang.Iterable<java.util.Map> src) |
Groovy Documentation