public static String getStmtTextForPlanHash(byte[] planHash) {
        Sha1Wrapper key = new Sha1Wrapper(planHash);
        FragInfo frag = null;
        synchronized (FragInfo.class) {
            frag = m_plansByHash.get(key);
        }
        assert(frag != null);
        // SQL statement text is not stored in the repository for ad hoc statements
        // -- it may be inaccurate because we parameterize the statement on its constants.
        // Callers know if they are asking about ad hoc or pre-planned fragments,
        // and shouldn't call this method for the ad hoc case.
        assert(frag.stmtText != null);
        return frag.stmtText;
    }
public static String getStmtTextForPlanHash ( byte [ ] planHash ) { Sha1Wrapper key = new Sha1Wrapper ( planHash ) ; FragInfo frag = null ; synchronized ( FragInfo . class ) { frag = m_plansByHash . get ( key ) ; } assert ( frag != null ) ; assert ( frag . stmtText != null ) ; return frag . stmtText ; }
Get the statement text for the fragment identified by its hash