@Test public void test_列调整_函数() { TableNode table = new TableNode("TABLE1"); table.query("2 = ID+1"); table.build(); FilterPreProcessor.optimize(table, true); Assert.assertEquals(table.getWhereFilter().toString(), "ID + 1 = 2"); }
public static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert) throws QueryException { qtn = preProcess(qtn, typeConvert); return qtn; }
FilterPreProcessor { public static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert) throws QueryException { qtn = preProcess(qtn, typeConvert); return qtn; } }
FilterPreProcessor { public static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert) throws QueryException { qtn = preProcess(qtn, typeConvert); return qtn; }  }
FilterPreProcessor { public static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert) throws QueryException { qtn = preProcess(qtn, typeConvert); return qtn; }  static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert); }
FilterPreProcessor { public static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert) throws QueryException { qtn = preProcess(qtn, typeConvert); return qtn; }  static QueryTreeNode optimize(QueryTreeNode qtn, boolean typeConvert);  }