<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.api.column.query;

/**
 * The base to delete name condition
 */
public interface ColumnDeleteNameCondition {


    /**
     * Creates the equals condition {@link org.jnosql.diana.api.Condition#EQUALS}
     *
     * @param value the value to the condition
     * @param <T>   the type
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere eq(T value);

    /**
     * Creates the like condition {@link org.jnosql.diana.api.Condition#LIKE}
     *
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    ColumnDeleteWhere like(String value);

    /**
     * Creates the greater than condition {@link org.jnosql.diana.api.Condition#GREATER_THAN}
     *
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    ColumnDeleteWhere gt(Number value);

    /**
     * Creates the greater equals than condition {@link org.jnosql.diana.api.Condition#GREATER_EQUALS_THAN}
     *
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    ColumnDeleteWhere gte(Number value);

    /**
     * Creates the lesser than condition {@link org.jnosql.diana.api.Condition#LESSER_THAN}
     *
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    ColumnDeleteWhere lt(Number value);

    /**
     * Creates the lesser equals than condition {@link org.jnosql.diana.api.Condition#LESSER_EQUALS_THAN}
     *
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    ColumnDeleteWhere lte(Number value);

    /**
     * Creates the between condition {@link org.jnosql.diana.api.Condition#EQUALS}
     *
     * @param valueA the values within a given range
     * @param valueB the values within a given range
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when either valueA or valueB are null
     */
    ColumnDeleteWhere between(Number valueA, Number valueB);

    /**
     * Creates in condition {@link org.jnosql.diana.api.Condition#IN}
     *
     * @param values the values
     * @param <T>    the type
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere in(Iterable<T> values);

    /**
     * Creates the equals condition {@link org.jnosql.diana.api.Condition#NOT}
     *
     * @return {@link ColumnDeleteNotCondition}
     */
    ColumnDeleteNotCondition not();<commit_msg>updates the condition to accept any type instead of just number<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.api.column.query;

/**
 * The base to delete name condition
 */
public interface ColumnDeleteNameCondition {


    /**
     * Creates the equals condition {@link org.jnosql.diana.api.Condition#EQUALS}
     *
     * @param value the value to the condition
     * @param <T>   the type
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere eq(T value);

    /**
     * Creates the like condition {@link org.jnosql.diana.api.Condition#LIKE}
     *
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    ColumnDeleteWhere like(String value);

    /**
     * Creates the greater than condition {@link org.jnosql.diana.api.Condition#GREATER_THAN}
     *
     * @param value the value to the condition
     * @param <T>   the type
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere gt(T value);

    /**
     * Creates the greater equals than condition {@link org.jnosql.diana.api.Condition#GREATER_EQUALS_THAN}
     *
     * @param <T>   the type
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere gte(T value);

    /**
     * Creates the lesser than condition {@link org.jnosql.diana.api.Condition#LESSER_THAN}
     *
     * @param <T>   the type
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere lt(T value);

    /**
     * Creates the lesser equals than condition {@link org.jnosql.diana.api.Condition#LESSER_EQUALS_THAN}
     *
     * @param <T>   the type
     * @param value the value to the condition
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere lte(T value);

    /**
     * Creates the between condition {@link org.jnosql.diana.api.Condition#EQUALS}
     *
     * @param <T>    the type
     * @param valueA the values within a given range
     * @param valueB the values within a given range
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when either valueA or valueB are null
     */
    <T> ColumnDeleteWhere between(T valueA, T valueB);

    /**
     * Creates in condition {@link org.jnosql.diana.api.Condition#IN}
     *
     * @param values the values
     * @param <T>    the type
     * @return the {@link ColumnDeleteWhere}
     * @throws NullPointerException when value is null
     */
    <T> ColumnDeleteWhere in(Iterable<T> values);

    /**
     * Creates the equals condition {@link org.jnosql.diana.api.Condition#NOT}
     *
     * @return {@link ColumnDeleteNotCondition}
     */
    ColumnDeleteNotCondition not();
{'fraction_non_alphanumeric': 0.09442420846175399, 'fraction_numerical': 0.003922667413841412, 'mean_word_length': 2.8526713437668647, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '3145643', 'n_tokens_mistral': 2070, 'n_tokens_neox': 2031, 'n_words': 680}