@Test public void test_列调整_列值() { TableNode table = new TableNode("TABLE1"); table.query("ID = NAME AND 'HELLO'= NAME AND NAME = ID "); table.build(); FilterPreProcessor.optimize(table, true); Assert.assertEquals(table.getWhereFilter().toString(), "(TABLE1.ID = TABLE1.NAME AND TABLE1.NAME = TABLE1.ID AND TABLE1.NAME = HELLO)"); }
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);  }