Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
muttcg committed Mar 7, 2019
1 parent e0590b3 commit fa2e369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/transform/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Transform example

Transform example demonstrates how to create [Apache Beam](https://beam.apache.org/documentation/programming-guide/) pipeline, create the new transformation and use it together with GBIF [transforms](../pipelines/ingest-transforms) and [core](../sdks/core) classes
Transform example demonstrates how to create [Apache Beam](https://beam.apache.org/documentation/programming-guide/) pipeline, create the new transformation and use it together with GBIF [transforms](../../pipelines/ingest-transforms) and [core](../../sdks/core) classes

1) [Avro](https://avro.apache.org/docs/current/) schema - [example-record.avsc](./src/main/resources/example-record.avsc) is used to generate target data class.
2) Interpretation [ExampleInterpreter.java](./src/main/java/org/gbif/pipelines/examples/ExampleInterpreter.java) class uses source data object to apply some logic and sets data to the target object.
3) [ExampleTransform.java](./src/main/java/org/gbif/pipelines/examples/ExampleTransform.java) is [Apache Beam](https://beam.apache.org/get-started/beam-overview/) ParDo transformation, uses [ExampleInterpreter.java](./src/main/java/org/gbif/pipelines/examples/ExampleInterpreter.java) and [Interpretation.java](../sdks/core/src/main/java/org/gbif/pipelines/core/Interpretation.java).
3) [ExampleTransform.java](./src/main/java/org/gbif/pipelines/examples/ExampleTransform.java) is [Apache Beam](https://beam.apache.org/get-started/beam-overview/) ParDo transformation, uses [ExampleInterpreter.java](./src/main/java/org/gbif/pipelines/examples/ExampleInterpreter.java) and [Interpretation.java](../../sdks/core/src/main/java/org/gbif/pipelines/core/Interpretation.java).
4) [ExamplePipeline.java](./src/main/java/org/gbif/pipelines/examples/ExamplePipeline.java) is [Apache Beam](https://beam.apache.org/get-started/beam-overview/) pipeline uses [ExampleTransform.java](./src/main/java/org/gbif/pipelines/examples/ExampleTransform.java) as a ParDo transformation, also you can find example of a [Darwin Core Archive](https://www.tdwg.org/standards/dwc/) - [example.zip](./src/main/resources/example.zip) and example of pipeline options - [example.properties](./src/main/resources/example.properties) to run the pipeline.blob/master/examples/src/main/java/or

## How to run:
Expand Down

0 comments on commit fa2e369

Please sign in to comment.