@Test public void testSimpleIsNotNULL() { String sql = "SELECT blocknumber,hash,transactions FROM block WHERE (hash IS NOT NULL) AND (blocknumber IS NOT NULL) AND (blocknumber > 123) AND (blocknumber < 145) AND (hash = '2f32268b02c2d498c926401f6e74406525c02f735feefe457c5689')"; LogicalPlan plan = getLogicalPlan(sql); plan.getQuery().traverse(); }
public Query getQuery() { return query; }
LogicalPlan extends TreeNode implements QueryItemInterface { public Query getQuery() { return query; } }
LogicalPlan extends TreeNode implements QueryItemInterface { public Query getQuery() { return query; } LogicalPlan(String description); }
LogicalPlan extends TreeNode implements QueryItemInterface { public Query getQuery() { return query; } LogicalPlan(String description); TreeNode getCurrentNode(); void setCurrentNode(TreeNode currentNode); Query getQuery(); void setQuery(Query query); CreateFunction getCreateFunction(); void setCreateFunction(CreateFunction createFunction); ClassName getClassName(); void setClassName(ClassName className); Insert getInsert(); void setInsert(Insert insert); CallFunction getCallFunction(); void setCallFunction(CallFunction callFunction); CreateAsset getCreateAsset(); void setCreateAsset(CreateAsset createAsset); DeleteFunction getDeleteFunction(); void setDeleteFunction(DeleteFunction deleteFunction); DropAsset getDropAsset(); void setDropAsset(DropAsset dropAsset); UpgradeFunction getUpgradeFunction(); void setSmartCnrtDeploy(SmartCnrtDeploy smartCnrtDeploy); SmartCnrtDeploy getSmartCnrtDeploy(); void setUpgradeFunction(UpgradeFunction upgradeFunction); void setCreateUser(CreateUser createUser); CreateUser getCreateUser(); SQLType getType(); void setType(SQLType type); @Override Object clone(); }
LogicalPlan extends TreeNode implements QueryItemInterface { public Query getQuery() { return query; } LogicalPlan(String description); TreeNode getCurrentNode(); void setCurrentNode(TreeNode currentNode); Query getQuery(); void setQuery(Query query); CreateFunction getCreateFunction(); void setCreateFunction(CreateFunction createFunction); ClassName getClassName(); void setClassName(ClassName className); Insert getInsert(); void setInsert(Insert insert); CallFunction getCallFunction(); void setCallFunction(CallFunction callFunction); CreateAsset getCreateAsset(); void setCreateAsset(CreateAsset createAsset); DeleteFunction getDeleteFunction(); void setDeleteFunction(DeleteFunction deleteFunction); DropAsset getDropAsset(); void setDropAsset(DropAsset dropAsset); UpgradeFunction getUpgradeFunction(); void setSmartCnrtDeploy(SmartCnrtDeploy smartCnrtDeploy); SmartCnrtDeploy getSmartCnrtDeploy(); void setUpgradeFunction(UpgradeFunction upgradeFunction); void setCreateUser(CreateUser createUser); CreateUser getCreateUser(); SQLType getType(); void setType(SQLType type); @Override Object clone();  }