Arnab20k(Gravdestroyer)Original post
Rank 1: Thread
I think this implementation will work?
The Adaptor abstract class is implementing the list method which is basically returning a list of databases.
Redis is having only 0 to 15 number databases by default and to change databse number we need to update the .conf file and also restart the server
So I think using a hashset will be a great choice instead
So the ultimate the lookup will look like
redis instance ={
databaseName:{
tableName:{}
}
}
And for creating of the collections I am reffering to the mongodb adapter cause both redis and mongodb are schemaless. So some among them will be common
Summary
The user is discussing implementing a Redis Adapter. They mention that the implementation should return the same format. The user suggests using a hashset to handle databases in Redis instead of updating the .conf file and restarting the server. They also mention that the MongoDB adapter can be used as a reference for creating collections since Redis and MongoDB are both schemaless.