当前位置: 首页>>代码示例>>Java>>正文


Java ExecUtils.printOrderBy方法代码示例

本文整理汇总了Java中com.taobao.tddl.executor.utils.ExecUtils.printOrderBy方法的典型用法代码示例。如果您正苦于以下问题:Java ExecUtils.printOrderBy方法的具体用法?Java ExecUtils.printOrderBy怎么用?Java ExecUtils.printOrderBy使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.taobao.tddl.executor.utils.ExecUtils的用法示例。


在下文中一共展示了ExecUtils.printOrderBy方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    try {
        initSchema();
    } catch (Exception e) {
        e.printStackTrace();
    }
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab).append("【Aggregate cursor . agg funcs").append(aggregates).append("\n");
    ExecUtils.printMeta(cursorMeta, inden, sb);
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:16,代码来源:AggregateCursor.java

示例2: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab).append("【AffectRowCursor : ").append("\n");
    ExecUtils.printMeta(cursormeta, inden, sb);
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden + 1));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:11,代码来源:AffectRowCursor.java

示例3: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab).append("【set order cursor .").append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:9,代码来源:SetOrderByCursor.java

示例4: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab).append("【Reverse order cursor .").append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:10,代码来源:ReverseOrderCursor.java

示例5: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab)
        .append("【Range cursor .start : ")
        .append(from)
        .append("|")
        .append(" end : ")
        .append(to)
        .append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:16,代码来源:RangeCursor.java

示例6: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab).append("【Limit cursor . from : ").append(limitFrom).append(" to :").append(offset).append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:10,代码来源:LimitFromToCursor.java

示例7: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String subQueryTab = GeneralUtil.getTab(inden);
    sb.append(subQueryTab).append("【Value Filter Cursor : ").append("\n");
    sb.append(subQueryTab).append(filter).append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:11,代码来源:ValueFilterCursor.java

示例8: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
@Override
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String subQueryTab = GeneralUtil.getTab(inden);
    ExecUtils.printMeta(joinCursorMeta, inden, sb);
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(subQueryTab).append("【Sort Merge Join : ").append("\n");
    sb.append(subQueryTab).append("leftCursor:").append("\n");
    sb.append(left_cursor.toStringWithInden(inden + 1));
    sb.append(subQueryTab).append("rightCursor:").append("\n");
    sb.append(right_cursor.toStringWithInden(inden + 1));

    return sb.toString();
}
 
开发者ID:loye168,项目名称:tddl5,代码行数:15,代码来源:SortMergeJoinCursor.java

示例9: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab).append("【Reverse order cursor .").append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:beebeandwer,项目名称:TDDL,代码行数:9,代码来源:ReverseOrderCursor.java

示例10: toStringWithInden

import com.taobao.tddl.executor.utils.ExecUtils; //导入方法依赖的package包/类
public String toStringWithInden(int inden) {
    StringBuilder sb = new StringBuilder();
    String tab = GeneralUtil.getTab(inden);
    sb.append(tab)
        .append("【Range cursor .start : ")
        .append(from)
        .append("|")
        .append(" end : ")
        .append(to)
        .append("\n");
    ExecUtils.printOrderBy(orderBys, inden, sb);
    sb.append(super.toStringWithInden(inden));
    return sb.toString();
}
 
开发者ID:beebeandwer,项目名称:TDDL,代码行数:15,代码来源:RangeCursor.java


注:本文中的com.taobao.tddl.executor.utils.ExecUtils.printOrderBy方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。