I have climate data such as moisture, pressure, temp etc ... that are daily values, and need to do calculations over a month, and many different months. This leads to data that is either DOUBLE or INTEGER data that are put into Arraylists.
I want to be able to convert this ArrayList to a Byte Array, then compress this to a Binary BLOB, and store in a database in a BLOB field. I knew someone before that did this in python was able to convert Array to ByteArray and then put into database BLOB field.
I have seen some links here, but it is not exactly the same. It is really confusing the different ways to do this. For example here from this link, they encode to base64. How to convert int array to base64 string in Java?
Hope someone can provide guidance into this area.
P.