<commit_before>/*
 *  Copyright (c) 2017 <NAME> and others
 *   All rights reserved. This program and the accompanying materials
 *   are made available under the terms of the Eclipse Public License v1.0
 *   and Apache License v2.0 which accompanies this distribution.
 *   The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
 *   and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
 *
 *   You may elect to redistribute this code under either of these licenses.
 *
 *   Contributors:
 *
 *   <NAME>
 */

package org.jnosql.diana.hazelcast.key;

import org.jnosql.diana.api.key.BucketManager;

/**
 * The hazelcast implementation of {@link BucketManager}
 */
public interface HazelCastBucketManager extends BucketManager {


}<commit_msg>Updates the hazelcast documentation<commit_after>/*
 *  Copyright (c) 2017 <NAME> and others
 *   All rights reserved. This program and the accompanying materials
 *   are made available under the terms of the Eclipse Public License v1.0
 *   and Apache License v2.0 which accompanies this distribution.
 *   The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
 *   and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
 *
 *   You may elect to redistribute this code under either of these licenses.
 *
 *   Contributors:
 *
 *   <NAME>
 */

package org.jnosql.diana.hazelcast.key;

import com.hazelcast.query.Predicate;
import org.jnosql.diana.api.Value;
import org.jnosql.diana.api.key.BucketManager;
import org.jnosql.diana.api.key.KeyValueEntity;

import java.util.Collection;

/**
 * The hazelcast implementation of {@link BucketManager}
 */
public interface HazelCastBucketManager extends BucketManager {


    /**
     * Executes hazelcast query
     *
     * @param query the query
     * @return the result query
     * @throws NullPointerException when there is null query
     */
    Collection<Value> get(String query) throws NullPointerException;

    /**
     * Executes hazelcast query
     *
     * @param predicate the hazelcast predicate
     * @param <K>       the key type
     * @param <V>       the value type
     * @return the result query
     * @throws NullPointerException when there is null predicate
     */
    <K, V> Collection<Value> get(Predicate<K, V> predicate) throws NullPointerException;

}
{'fraction_non_alphanumeric': 0.0886128364389234, 'fraction_numerical': 0.011594202898550725, 'mean_word_length': 3.3847549909255896, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1923435', 'n_tokens_mistral': 724, 'n_tokens_neox': 698, 'n_words': 235}