本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
}
示例15: print
import com.espertech.esper.util.IndentWriter; //导入方法依赖的package包/类
protected void print(IndentWriter writer) {
writer.incrIndent();
writer.println("HistoricalDataPlanNode streamNum=" + streamNum);
}