tokyoTyrant-JAVA

来自RDBTBL.java

    /**
     * Store a record into a remote database object.
     * @param key specifies the key.
     * @param cols specifies a map object containing columns.
     * @return If successful, the return value is true, else, it is false. If a record with the same key exists in the database, it is overwritten.
     * @throws IOException
     */

 


    public boolean tblput(Object key, Map cols) throws IOException {

        Object[] result =  store("put", key, cols);

        if (result == null) {
            return false;
        }

        return true;


    }

你可能感兴趣的:(tokyoTyrant-JAVA)