I wish to insert image as bytebuffer into cassandra table.
Table is: Employees(Name text,Image blob)
I had stored image into variable bb in form of bytebuffer using Java. How to insert data from this bytebuffer bb into cassandra table? Can anyone please help?
You should be able to use the ByteBuffer directly with the Java driver.
See the example on http://ac31004.blogspot.com.au/2014/03/saving-image-in-cassandra-blob-field.html:
See they directly bind the ByteBuffer to the blob-type parameter in the prepared statement.