Beispiel #1
0
 static ClientSession processSessionParameterChange(
     Object parsedStatement, ClientSession session) {
   if (parsedStatement instanceof Use) {
     Use use = (Use) parsedStatement;
     return ClientSession.withCatalogAndSchema(
         session, use.getCatalog().orElse(session.getCatalog()), use.getSchema());
   }
   return session;
 }