basho / riak-java-client

The Riak client for Java.
Apache License 2.0
267 stars 158 forks source link

Make RiakObject (and all it's stuff) to be Serializable #698

Open srgg opened 7 years ago

srgg commented 7 years ago

Description

The RiakObject as well as all it's attributes were marked as Serializable and serialVersionUIDs were added accordingly.

Related Issue

Motivation and Context

In Spark Connector project there is a need to use RiakObject as a default mapped type for the Riak KV RDD.

How Has This Been Tested?

Additional test case has been added in the scope of this PR.

Types of changes

Checklist:

Pull requests that are small and limited in scope are most welcome.