Package co.cask.tigon.sql.flowlet.annotation

Examples of co.cask.tigon.sql.flowlet.annotation.QueryOutput


    Reflections.visit(flowlet, TypeToken.of(flowlet.getClass()),
                      new MethodVisitor() {
                        @Override
                        public void visit(Object o, TypeToken<?> inspectType, TypeToken<?> declareType, Method method)
                          throws Exception {
                          QueryOutput annotation = method.getAnnotation(QueryOutput.class);
                          if ((annotation == null) || (annotation.value().isEmpty())) {
                            return;
                          }
                          try {
                            methodListMap.put(annotation.value(),
                                              new MethodInvoker(o, method, inspectType
                                                , getSchema(schemaMap.get(annotation.value())))
                            );
                          } catch (UnsupportedTypeException e) {
                            throw new RuntimeException(e);
                          }
                        }
View Full Code Here

TOP

Related Classes of co.cask.tigon.sql.flowlet.annotation.QueryOutput

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.