Package com.alvazan.orm.api.base.anno

Examples of com.alvazan.orm.api.base.anno.NoSqlIndexed


    boolean isIndexed = false;
    boolean byKeyOnly = false;
    if(field.isAnnotationPresent(NoSqlIndexed.class)) {
      isIndexed = true;
      NoSqlIndexed indexAnno = field.getAnnotation(NoSqlIndexed.class);
      byKeyOnly = indexAnno.byKeyOnly();
    }     
   
    boolean isPartitioned = false;
    if(field.isAnnotationPresent(NoSqlPartitionByThisField.class))
      isPartitioned = true;
View Full Code Here


    Class<?> clazz = classMeta.getMetaClass();
    Field[] fields = clazz.getDeclaredFields();
    for (Field field : fields) {
      field.setAccessible(true);
      if (field.isAnnotationPresent(NoSqlIndexed.class)) {
        NoSqlIndexed indexAnno = field
            .getAnnotation(NoSqlIndexed.class);
        boolean byKeyOnly = indexAnno.byKeyOnly();
        if (byKeyOnly) {
          DboTableMeta cf = new DboTableMeta();
          String indexTableName = field.getName() + "To"
              + classMeta.getColumnFamily();
View Full Code Here

TOP

Related Classes of com.alvazan.orm.api.base.anno.NoSqlIndexed

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.