psdi.app.recontask.engine

Class ReconCompMatchesFoundExpression

    • Field Detail

      • matchesFoundOperators

        public static final java.lang.String[] matchesFoundOperators
    • Constructor Detail

      • ReconCompMatchesFoundExpression

        public ReconCompMatchesFoundExpression(ReconInfo reconInfo)
    • Method Detail

      • evaluateExpression

        public ReconCompResult evaluateExpression(ComparisonQueryHelper queries)
                                           throws MXException,
                                                  java.rmi.RemoteException,
                                                  java.sql.SQLException
        Evaluates the expression, compiling it first if needed.
        Returns:
        true/false
        Throws:
        MXException
        java.rmi.RemoteException
        java.sql.SQLException
      • evaluateExpressionTree

        protected ReconCompResult evaluateExpressionTree(BinaryTreeNode root,
                                                         ComparisonQueryHelper queries)
                                                  throws MXException,
                                                         java.rmi.RemoteException,
                                                         java.sql.SQLException
        Traverse the binary tree using a recursive algorithm

        The pseudocode is

        if (root != null)

        if ( [current node contains an operator] )

        x = evaluateTree(root.left_child);

        y = evaluateTree(root.right_child);

        [Perform operation on x and y, specified by the operator and store result in z]

        return z;

        else

        error!;

        Returns:
        a list of all IDs of all AssetObject instances that graduated successfully from the filter. Don't worry they may originate from different records database
        Throws:
        MXException
        java.rmi.RemoteException
        java.sql.SQLException