{"id":20909624,"url":"https://github.com/redisbloom/jredisbloom","last_synced_at":"2025-05-13T07:31:06.835Z","repository":{"id":24500085,"uuid":"101430719","full_name":"RedisBloom/JRedisBloom","owner":"RedisBloom","description":"Java Client for RedisBloom probabilistic module","archived":false,"fork":false,"pushed_at":"2023-05-30T18:20:53.000Z","size":1152,"stargazers_count":153,"open_issues_count":3,"forks_count":32,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-01T19:49:21.108Z","etag":null,"topics":["bloom-filter","java-client","redis","redis-client","redisbloom"],"latest_commit_sha":null,"homepage":"https://redisbloom.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RedisBloom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-25T18:19:36.000Z","updated_at":"2025-03-30T00:43:58.000Z","dependencies_parsed_at":"2024-11-18T14:12:17.582Z","dependency_job_id":"016c0dc6-026d-4d99-93c3-56f0cda6ce31","html_url":"https://github.com/RedisBloom/JRedisBloom","commit_stats":null,"previous_names":["redislabs/jrebloom"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisBloom%2FJRedisBloom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisBloom%2FJRedisBloom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisBloom%2FJRedisBloom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RedisBloom%2FJRedisBloom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RedisBloom","download_url":"https://codeload.github.com/RedisBloom/JRedisBloom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253894723,"owners_count":21980391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bloom-filter","java-client","redis","redis-client","redisbloom"],"created_at":"2024-11-18T14:12:08.328Z","updated_at":"2025-05-13T07:31:06.546Z","avatar_url":"https://github.com/RedisBloom.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![license](https://img.shields.io/github/license/RedisBloom/JRedisBloom.svg)](https://github.com/RedisBloom/JRedisBloom)\n[![GitHub issues](https://img.shields.io/github/release/RedisBloom/JRedisBloom.svg)](https://github.com/RedisBloom/JRedisBloom/releases/latest)\n[![CircleCI](https://circleci.com/gh/RedisBloom/JRedisBloom/tree/master.svg?style=svg)](https://circleci.com/gh/RedisBloom/JRedisBloom/tree/master)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.redislabs/jrebloom/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.redislabs/jrebloom)\n[![Javadocs](https://www.javadoc.io/badge/com.redislabs/jrebloom.svg)](https://www.javadoc.io/doc/com.redislabs/jrebloom)\n[![Codecov](https://codecov.io/gh/RedisBloom/JRedisBloom/branch/master/graph/badge.svg)](https://codecov.io/gh/RedisBloom/JRedisBloom)\n[![Known Vulnerabilities](https://snyk.io/test/github/RedisBloom/JRedisBloom/badge.svg?targetFile=pom.xml)](https://snyk.io/test/github/RedisBloom/JRedisBloom?targetFile=pom.xml)\n\n# JRedisBloom\n[![Forum](https://img.shields.io/badge/Forum-RedisBloom-blue)](https://forum.redislabs.com/c/modules/redisbloom)\n[![Discord](https://img.shields.io/discord/697882427875393627?style=flat-square)](https://discord.gg/wXhwjCQ)\n\nA Java Client Library for [RedisBloom](https://redisbloom.io)\n\n## Deprecation notice\n\nAs of [Jedis](https://github.com/redis/jedis) version 4.2.0, this library is deprecated. Its features have been merged into Jedis. Please either install it from [maven](https://mvnrepository.com/artifact/redis.clients/jedis) or [the repo](https://github.com/redis/jedis)\n\n## Overview\n\nThis project contains a Java library abstracting the API of the RedisBloom Redis module, that implements a high\nperformance bloom filter with an easy-to-use API\n\nSee [http://redisbloom.io](http://redisbloom.io) for installation instructions of the module.\n\n\n### Official Releases\n\n```xml\n  \u003cdependencies\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.redislabs\u003c/groupId\u003e\n      \u003cartifactId\u003ejrebloom\u003c/artifactId\u003e\n      \u003cversion\u003e2.1.0\u003c/version\u003e\n    \u003c/dependency\u003e\n  \u003c/dependencies\u003e\n```\n\n### Snapshots\n\n```xml\n  \u003crepositories\u003e\n    \u003crepository\u003e\n      \u003cid\u003esnapshots-repo\u003c/id\u003e\n      \u003curl\u003ehttps://oss.sonatype.org/content/repositories/snapshots\u003c/url\u003e\n    \u003c/repository\u003e\n  \u003c/repositories\u003e\n```\n\nand\n```xml\n  \u003cdependencies\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.redislabs\u003c/groupId\u003e\n      \u003cartifactId\u003ejrebloom\u003c/artifactId\u003e\n      \u003cversion\u003e2.2.0-SNAPSHOT\u003c/version\u003e\n    \u003c/dependency\u003e\n  \u003c/dependencies\u003e\n```\n\n\n## Usage example\n\nInitializing the client:\n\n```java\nimport io.rebloom.client.Client\n\nClient client = new Client(\"localhost\", 6379);\n```\n\nAdding items to a bloom filter (created using default settings):\n\n```java\nclient.add(\"simpleBloom\", \"Mark\");\n// Does \"Mark\" now exist?\nclient.exists(\"simpleBloom\", \"Mark\"); // true\nclient.exists(\"simpleBloom\", \"Farnsworth\"); // False\n```\n\n\nUse multi-methods to add/check multiple items at once:\n\n```java\nclient.addMulti(\"simpleBloom\", \"foo\", \"bar\", \"baz\", \"bat\", \"bag\");\n\n// Check if they exist:\nboolean[] rv = client.existsMulti(\"simpleBloom\", \"foo\", \"bar\", \"baz\", \"bat\", \"mark\", \"nonexist\");\n```\n\nReserve a customized bloom filter:\n\n```java\nclient.createFilter(\"specialBloom\", 10000, 0.0001);\nclient.add(\"specialBloom\", \"foo\");\n\n```\n\nUse cluster client to call redis cluster\nInitializing the cluster client:\n```java\nSet\u003cHostAndPort\u003e jedisClusterNodes = new HashSet\u003c\u003e();\njedisClusterNodes.add(new HostAndPort(\"localhost\", 7000));\nClusterClient cclient = new ClusterClient(jedisClusterNodes);\n```\n\nAdding items to a bloom filter (created using default settings):\n\n```java\ncclient.add(\"simpleBloom\", \"Mark\");\n// Does \"Mark\" now exist?\ncclient.exists(\"simpleBloom\", \"Mark\"); // true\ncclient.exists(\"simpleBloom\", \"Farnsworth\"); // False\n```\n\nall method of ClusterClient is same to Client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredisbloom%2Fjredisbloom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredisbloom%2Fjredisbloom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredisbloom%2Fjredisbloom/lists"}