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


Java IndentWriter.incrIndent方法代码示例

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


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

示例1: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
public void print(IndentWriter writer) {
    writer.println("LookupInstructionExecNode" +
            " rootStream=" + rootStream +
            " name=" + rootStreamName +
            " requiredPerStream=" + Arrays.toString(requiredPerStream));

    writer.incrIndent();
    for (int i = 0; i < lookupInstructions.length; i++) {
        writer.println("lookup inst node " + i);
        writer.incrIndent();
        lookupInstructions[i].print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();

    writer.incrIndent();
    for (int i = 0; i < assemblyInstructions.length; i++) {
        writer.println("assembly inst node " + i);
        writer.incrIndent();
        assemblyInstructions[i].print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:25,代码来源:LookupInstructionExecNode.java

示例2: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
/**
 * Output the instruction.
 *
 * @param writer is the write to output to
 */
@SuppressWarnings({"StringContatenationInLoop"})
public void print(IndentWriter writer) {
    writer.println("LookupInstructionExec" +
            " fromStream=" + fromStream +
            " fromStreamName=" + fromStreamName +
            " numSubStreams=" + numSubStreams +
            " requiredSubStreams=" + Arrays.toString(requiredSubStreams) +
            " optionalSubStreams=" + Arrays.toString(optionalSubStreams));

    writer.incrIndent();
    for (int i = 0; i < lookupStrategies.length; i++) {
        writer.println("lookupStrategies[" + i + "] : " + lookupStrategies[i].toString());
    }
    writer.decrIndent();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:21,代码来源:LookupInstructionExec.java

示例3: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
/**
 * Output the planned instruction.
 *
 * @param writer to output to
 */
public void print(IndentWriter writer) {
    writer.println("LookupInstructionPlan" +
            " fromStream=" + fromStream +
            " fromStreamName=" + fromStreamName +
            " toStreams=" + Arrays.toString(toStreams)
    );

    writer.incrIndent();
    for (int i = 0; i < lookupPlans.length; i++) {
        if (lookupPlans[i] != null) {
            writer.println("plan " + i + " :" + lookupPlans[i].toString());
        } else {
            writer.println("plan " + i + " : no lookup plan");
        }
    }
    writer.decrIndent();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:23,代码来源:LookupInstructionPlan.java

示例4: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
protected void print(IndentWriter writer) {
    writer.println("LookupInstructionQueryPlanNode" +
            " rootStream=" + rootStream +
            " requiredPerStream=" + Arrays.toString(requiredPerStream));

    writer.incrIndent();
    for (int i = 0; i < lookupInstructions.size(); i++) {
        writer.println("lookup step " + i);
        writer.incrIndent();
        lookupInstructions.get(i).print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();

    writer.incrIndent();
    for (int i = 0; i < assemblyInstructionFactories.size(); i++) {
        writer.println("assembly step " + i);
        writer.incrIndent();
        assemblyInstructionFactories.get(i).print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:24,代码来源:LookupInstructionQueryPlanNode.java

示例5: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
/**
 * Output the instruction.
 * @param writer is the write to output to
 */
@SuppressWarnings({"StringContatenationInLoop"})
public void print(IndentWriter writer)
{
    writer.println("LookupInstructionExec" +
            " fromStream=" + fromStream +
            " fromStreamName=" + fromStreamName +
            " numSubStreams=" + numSubStreams +
            " requiredSubStreams=" + Arrays.toString(requiredSubStreams) +
            " optionalSubStreams=" + Arrays.toString(optionalSubStreams));

    writer.incrIndent();
    for (int i = 0; i < lookupStrategies.length; i++)
    {
        writer.println("lookupStrategies[" + i + "] : " + lookupStrategies[i].toString());
    }
    writer.decrIndent();
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:22,代码来源:LookupInstructionExec.java

示例6: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
/**
 * Output the planned instruction.
 * @param writer to output to
 */
public void print(IndentWriter writer)
{
    writer.println("LookupInstructionPlan" +
            " fromStream=" + fromStream +
            " fromStreamName=" + fromStreamName +
            " toStreams=" + Arrays.toString(toStreams)
            );

    writer.incrIndent();
    for (int i = 0; i < lookupPlans.length; i++)
    {
        if (lookupPlans[i] != null)
        {
            writer.println("plan " + i + " :" + lookupPlans[i].toString());
        }
        else
        {
            writer.println("plan " + i + " : no lookup plan");
        }
    }
    writer.decrIndent();
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:27,代码来源:LookupInstructionPlan.java

示例7: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
protected void print(IndentWriter writer)
{
    writer.println("LookupInstructionQueryPlanNode" +
            " rootStream=" + rootStream +
            " requiredPerStream=" + Arrays.toString(requiredPerStream));

    writer.incrIndent();
    for (int i = 0; i < lookupInstructions.size(); i++)
    {
        writer.println("lookup step " + i);
        writer.incrIndent();
        lookupInstructions.get(i).print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();

    writer.incrIndent();
    for (int i = 0; i < assemblyInstructions.size(); i++)
    {
        writer.println("assembly step " + i);
        writer.incrIndent();
        assemblyInstructions.get(i).print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:27,代码来源:LookupInstructionQueryPlanNode.java

示例8: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
public void print(IndentWriter writer) {
    writer.println("NestedIterationExecNode");
    writer.incrIndent();

    for (ExecNode child : childNodes) {
        child.print(writer);
    }
    writer.decrIndent();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:10,代码来源:NestedIterationExecNode.java

示例9: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
public void print(IndentWriter indentWriter) {
    indentWriter.println("NestedIterationNode with nesting order " + Arrays.toString(nestingOrder));
    indentWriter.incrIndent();
    for (QueryPlanNode child : childNodes) {
        child.print(indentWriter);
    }
    indentWriter.decrIndent();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:9,代码来源:NestedIterationNode.java

示例10: printDescendends

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
/**
 * Output this node and all descendent nodes using writer, outputting child nodes.
 *
 * @param indentWriter to output to
 */
public void printDescendends(IndentWriter indentWriter) {
    this.print(indentWriter);
    for (BaseAssemblyNodeFactory child : childNodes) {
        indentWriter.incrIndent();
        child.print(indentWriter);
        indentWriter.decrIndent();
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:14,代码来源:BaseAssemblyNodeFactory.java

示例11: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
public void print(IndentWriter writer)
{
    writer.println("NestedIterationExecNode");
    writer.incrIndent();

    for (ExecNode child : childNodes)
    {
        child.print(writer);
    }
    writer.decrIndent();
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:12,代码来源:NestedIterationExecNode.java

示例12: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
public void print(IndentWriter writer)
{
    writer.println("LookupInstructionExecNode" +
            " rootStream=" + rootStream +
            " name=" + rootStreamName +
            " requiredPerStream=" + Arrays.toString(requiredPerStream));

    writer.incrIndent();
    for (int i = 0; i < lookupInstructions.length; i++)
    {
        writer.println("lookup inst node " + i);
        writer.incrIndent();
        lookupInstructions[i].print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();

    writer.incrIndent();
    for (int i = 0; i < assemblyInstructions.length; i++)
    {
        writer.println("assembly inst node " + i);
        writer.incrIndent();
        assemblyInstructions[i].print(writer);
        writer.decrIndent();
    }
    writer.decrIndent();
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:28,代码来源:LookupInstructionExecNode.java

示例13: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
public void print(IndentWriter indentWriter)
{
    indentWriter.println("NestedIterationNode with nesting order " + Arrays.toString(nestingOrder));
    indentWriter.incrIndent();
    for (QueryPlanNode child : childNodes)
    {
        child.print(indentWriter);
    }
    indentWriter.decrIndent();
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:11,代码来源:NestedIterationNode.java

示例14: printDescendends

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
/**
 * Output this node and all descendent nodes using writer, outputting child nodes.
 * @param indentWriter to output to
 */
public void printDescendends(IndentWriter indentWriter)
{
    this.print(indentWriter);
    for (BaseAssemblyNode child : childNodes)
    {
        indentWriter.incrIndent();
        child.print(indentWriter);
        indentWriter.decrIndent();
    }
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:15,代码来源:BaseAssemblyNode.java

示例15: print

import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
protected void print(IndentWriter writer) {
    writer.incrIndent();
    writer.println("HistoricalDataPlanNode streamNum=" + streamNum);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:5,代码来源:HistoricalDataPlanNode.java


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