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

com.redislabs.lettusearch.aggregate.api.AggregateCommands Maven / Gradle / Ivy

There is a newer version: 3.1.2
Show newest version
package com.redislabs.lettusearch.aggregate.api;

import com.redislabs.lettusearch.aggregate.AggregateOptions;
import com.redislabs.lettusearch.aggregate.AggregateResults;
import com.redislabs.lettusearch.aggregate.AggregateWithCursorResults;
import com.redislabs.lettusearch.aggregate.Cursor;

/**
 * Synchronously executed commands for RediSearch search index.
 *
 * @param  Key type.
 * @param  Value type.
 * @author Julien Ruaux
 * @since 1.0
 */
public interface AggregateCommands {

	AggregateResults aggregate(K index, V query);

	AggregateResults aggregate(K index, V query, AggregateOptions options);

	AggregateResults aggregate(K index, V query, Object... options);

	AggregateWithCursorResults aggregate(K index, V query, Cursor cursor);

	AggregateWithCursorResults aggregate(K index, V query, Cursor cursor, AggregateOptions options);

	AggregateWithCursorResults aggregate(K index, V query, Cursor cursor, Object... options);

	AggregateWithCursorResults cursorRead(K index, long cursor);

	AggregateWithCursorResults cursorRead(K index, long cursor, Long count);

	String cursorDelete(K index, long cursor);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy