/** * Instantiates a new lens jdbc statement. * * @param connection the connection */ public LensJdbcStatement(LensJdbcConnection connection) { this.connection = connection; statement = new LensStatement(connection.getConnection()); }
/** * Instantiates a new lens jdbc statement. * * @param connection the connection */ public LensJdbcStatement(LensJdbcConnection connection) { this.connection = connection; statement = new LensStatement(connection.getConnection()); }
public LensClient(LensClientConfig conf, String username, String password) { this.conf = conf; conf.setUser(username); this.password = password; connectToLensServer(); mc = new LensMetadataClient(connection); statement = new LensStatement(connection); }
public LensClient(LensClientConfig conf, String username, String password) { this.conf = conf; conf.setUser(username); this.password = password; connectToLensServer(); mc = new LensMetadataClient(connection); statement = new LensStatement(connection); }
/** * Instantiates a new sample queries. * * @throws JAXBException the JAXB exception */ public SampleQueries() throws JAXBException { metaClient = new LensMetadataClient(LensClientSingletonWrapper.instance().getClient().getConnection()); queryClient = new LensStatement(LensClientSingletonWrapper.instance().getClient().getConnection()); }