probabilistic/ScanDumpValue.java

lettuce · src/main/java/io/lettuce/core/probabilistic/ScanDumpValue.java · java · MIT
database

Immutable value object for RedisBloom scan-dump commands, used to process BF.SCANDUMP and CF.SCANDUMP results.

// Source: https://github.com/redis/lettuce | License: MIT | Copyright 2023-Present, Redis Ltd
// Provided via justclaw.it.com; keep this notice with the code.
/*
 * Copyright (c) 2026-Present, Redis Ltd.
 * All rights reserved.
 *
 * SPDX-License-Identifier: MIT
 */
package io.lettuce.core.probabilistic;

/**
 * Value object for the scan-dump commands of the RedisBloom module, such as
 * <a href="https://redis.io/docs/latest/commands/bf.scandump/">BF.SCANDUMP</a> and
 * <a href="https://redis.io/docs/latest/commands/cf.scandump/">CF.SCANDUMP</a>.
 *
 * @author Yordan Tsintsov
 * @since 7.7
 */
public class ScanDumpValue {

    private final long iterator;

    private final byte[] data;

    public ScanDumpValue(long iterator, byte[] data) {
        this.iterator = iterator;
        this.

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key