class EliminateCrossJoins implements Rule<JoinNode> {

    public static boolean isOriginalOrder(List<Integer> joinOrder)
    {
        for (int i = 0; i < joinOrder.size(); i++) {
            if (joinOrder.get(i) != i) {
                return false;
            }
        }
        return true;
    }

    public  EliminateCrossJoins(Metadata metadata);

}