Skip to content

Latest commit

 

History

History
 
 

01_Intro_ProcessLargeData_Java

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

processlargedatajava Function

From a large JSON payload calculates the distance between a supplied point of origin cordinate and the data, sorts it, and returns the nearest x results.

Local Development

  1. Run tests with
./mvnw test
  1. Start your function locally
sf run function start --verbose
  1. Invoke your function locally
sf run function --function-url=http://localhost:8080 --payload=@data/sample-payload.json