This document describes how to use Lens Java Client library in your projects.
Configuring Lens Client
Add lens-client-site.xml in the class path and configure following parameters as described in here
Running and Managing queries
For connecting to Lens Server please take a look at LensConnection
For Running queries please take a look at LensStatement
For Metadata operation please take a look at LensMetadataClient
LensClient is the common client for all the operations.