Skip to content

Instantly share code, notes, and snippets.

@Arnonrgo
Created August 9, 2015 07:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Arnonrgo/16b147173120d9118d21 to your computer and use it in GitHub Desktop.
Save Arnonrgo/16b147173120d9118d21 to your computer and use it in GitHub Desktop.
(defn record-builder
[event-record]
(let [..
raw-device-params (extract event-record "raw_device_params")
result [...
[:operator (get raw-device-params "operator")]
[:model (get raw-device-params "model")]
...
[:launch_counter counter DataTypes/LongType]]]
result))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment