[FLINK-1230] Add documentation and an example for collection-based execution