case classAddress(city: String, state: String) extends Product with Serializable
This is a sample code snippet to work with domain objects and SnappyStore
column tables.
This example can be run either in local mode (in which case the example runs
collocated with Spark+SnappyData Store in the same JVM) or can be submitted as a job
to an already running SnappyData cluster.
To run the example in local mode go to your SnappyData product distribution
directory and type following command on the command prompt
bin/run-example snappydata.WorkingWithObjects
To submit this example as a job to an already running cluster
cd $SNAPPY_HOME
bin/snappy-job.sh submit
--app-name WorkingWithObjects
--class org.apache.spark.examples.snappydata.WorkingWithObjects
--app-jar examples/jars/quickstart.jar
--lead [leadHost:port]
Check the status of your job id
bin/snappy-job.sh status --lead [leadHost:port] --job-id [job-id]
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
This is a sample code snippet to work with domain objects and SnappyStore column tables.
This example can be run either in local mode (in which case the example runs collocated with Spark+SnappyData Store in the same JVM) or can be submitted as a job to an already running SnappyData cluster.
To run the example in local mode go to your SnappyData product distribution directory and type following command on the command prompt
To submit this example as a job to an already running cluster