Package edu.brown.utils

Examples of edu.brown.utils.ParameterMangler


    @Override
    public MarkovEstimatorState startTransactionImpl(Long txn_id, int base_partition, Procedure catalog_proc, Object[] args) {
        long timestamp = -1l;
        if (this.profiler != null) timestamp = ProfileMeasurement.getTime();
       
        ParameterMangler mangler = this.manglers[catalog_proc.getId()];
        if (mangler != null) args = mangler.convert(args);
       
        assert (catalog_proc != null);
        long start_time = EstTime.currentTimeMillis();
        if (debug.val)
            LOG.debug(String.format("%s - Starting transaction estimation [partition=%d]",
View Full Code Here


            sb.append(String.format("[%02d] %s\n     %s\n", i, stmt0.fullName(), stmt1.fullName()));
        } // FOR
       
        // PARAMETERS
        sb.append("\nBATCH PARAMETERS\n");
        ParameterMangler pm = ParameterMangler.singleton(ts.getProcedure());
        Object mangled[] = pm.convert(ts.getProcedureParameters().toArray());
        sb.append(pm.toString(mangled));
       
        // ESTIMATOR STATE
        sb.append("\nESTIMATOR STATE:\n");
        EstimatorState s = ts.getEstimatorState();
        if (s instanceof MarkovEstimatorState) {
View Full Code Here

TOP

Related Classes of edu.brown.utils.ParameterMangler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.