com.ibm.tivoli.maximo.report.expr

Class BooleanCaseWhenCollector

  • All Implemented Interfaces:
    Node.Visitor


    public class BooleanCaseWhenCollector
    extends ValueCollector
    Collector that will collect all CASE WHEN expressions that look like boolean CASE WHEN statements, ie,
     case when a>b then 1 else 0 end
     
    The "collected" node with the the start of the CASE WHEN block. (ie, you'll end up with a bunch of 'case' nodes for each case expression that looks like a boolean case when block.
    • Constructor Detail

      • BooleanCaseWhenCollector

        public BooleanCaseWhenCollector()
    • Method Detail

      • accept

        public boolean accept(Node n)
                       throws java.rmi.RemoteException,
                              MXException
        Description copied from class: Collector
        Return true if this node can be accepted by the Collector
        Overrides:
        accept in class ValueCollector
        Returns:
        Throws:
        java.rmi.RemoteException
        MXException