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

org.jnosql.artemis.document.query.DocumentMapperDeleteNameCondition Maven / Gradle / Ivy

The newest version!
/*
 *  Copyright (c) 2017 Otávio Santana 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:
 *
 *   Otavio Santana
 */
package org.jnosql.artemis.document.query;

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

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

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

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

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

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

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

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

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

    /**
     * Creates the equals condition {@link org.jnosql.diana.api.Condition#NOT}
     *
     * @return {@link DocumentMapperDeleteNotCondition}
     */
    DocumentMapperDeleteNotCondition not();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy