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

net.ravendb.client.documents.session.IDocumentQueryBuilder Maven / Gradle / Ivy

package net.ravendb.client.documents.session;

import net.ravendb.client.documents.indexes.AbstractCommonApiForIndexes;

public interface IDocumentQueryBuilder {

     IDocumentQuery documentQuery(Class clazz, Class indexClazz);

    /**
     * Query the specified index
     * @param  Class of query result
     * @param clazz The result of the query
     * @param indexName Name of the index (mutually exclusive with collectionName)
     * @param collectionName Name of the collection (mutually exclusive with indexName)
     * @param isMapReduce Whether we are querying a map/reduce index (modify how we treat identifier properties)
     * @return Document query
     */
     IDocumentQuery documentQuery(Class clazz, String indexName, String collectionName, boolean isMapReduce);

    /**
     * Query the specified index
     * @param  Class of query result
     * @param clazz The result of the query
     * @return Document query
     */
     IDocumentQuery documentQuery(Class clazz);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy