Package org.hivedb.annotations

Examples of org.hivedb.annotations.IndexParam


      }, new PairIterator<Integer>(Arrays.asList(pairs)));
    } else {
      // Collect method parameters that represent and EntityIndexConfig property value
      entries = Transform.map(new Unary<Integer, Entry<String, Object>>() {
        public Entry<String, Object> f(Integer index) {
          IndexParam annotation = AnnotationHelper.getMethodArgumentAnnotationDeeply(method, index - 1, IndexParam.class);
          return new Pair<String, Object>(config.getEntityIndexConfig(((IndexParam) annotation).value()).getPropertyName(), args[index - 1]);
        }
      }, Filter.grep(new Predicate<Integer>() {
        public boolean f(Integer index) {
          return AnnotationHelper.getMethodArgumentAnnotationDeeply(method, index - 1, IndexParam.class) != null;
View Full Code Here

TOP

Related Classes of org.hivedb.annotations.IndexParam

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.