How to create and publish views using Java Client Programatically?

I have been trying to create views in couchbase server using Java Client Library 2.1.3. But I failed to find a documentation for the same. Can someone help me with it ?


you can find some good examples in the integration test of the SDK: