Package com.skyline.energy.annotation

Examples of com.skyline.energy.annotation.ShardBy


  public String getShardTable() {
    return shardTable;
  }
 
  protected void parseShardBy(Method method, Map<String, Integer> paramIndexes, Class<?>[] paramTypes) throws DaoGenerateException {
    ShardBy shardBy = method.getAnnotation(ShardBy.class);
    if(shardBy != null) {
      shardTable = shardBy.table();
      shardParamName = StringUtils.trimToEmpty(shardBy.param());
     
      int pos = shardParamName.indexOf('.');
      if (pos != -1) {
        String actualName = shardParamName.substring(0, pos);
View Full Code Here

TOP

Related Classes of com.skyline.energy.annotation.ShardBy

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.