All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.dongliu.dbutils.handlers.MapHandler Maven / Gradle / Ivy

package net.dongliu.dbutils.handlers;

import java.util.Map;

/**
 * ResultSetHandler implementation that converts the first ResultSet row into a Map.
 * This class is not thread safe.
 */
public class MapHandler extends SingleResultHandler> {

    public static MapHandler getInstance() {
        return new MapHandler();
    }

    /**
     * Creates a new instance of MapHandler using a
     * BasicRowProcessor for conversion.
     */
    private MapHandler() {
        super(new MapRowProcessor());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy