redbeardlab / jredisql Goto Github PK
View Code? Open in Web Editor NEWJava Client for RediSQL
Java Client for RediSQL
redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'REDISQL.CREATE_DB'
at redis.clients.jedis.Protocol.processError(Protocol.java:131)
at redis.clients.jedis.Protocol.process(Protocol.java:165)
at redis.clients.jedis.Protocol.read(Protocol.java:219)
at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:309)
at redis.clients.jedis.Connection.getBinaryBulkReply(Connection.java:255)
at redis.clients.jedis.Connection.getBulkReply(Connection.java:245)
at com.redbeardlab.redisql.client.RediSQLClient.ok_returns(RediSQLClient.java:89)
at com.redbeardlab.redisql.client.RediSQLClient.create_db(RediSQLClient.java:98)
at com.redbeardlab.redisql.client.RediSQLClientTest.creatingDatabaseWorks(RediSQLClientTest.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:532)
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:115)
i use the redis-cli is all ok
@siscia can you give me an example for how to query from a table. I get error like
(error) ERR unknown command REDISQL.QUERY
, with args beginning with: SELECT * FROM foo
,
It would be really great if there was some kind of wrapper class that makes the data returned from redis appear to be java.sql.ResultSet
- then this could be closer to a drop-in replacement for a traditional SQL database connection.
So instead of calling get(1) get(2) as in the example, you would iterate over ResultSet
objects, with functions delegating to the underlying redis interface. Basically RedisResultSetDecorator.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.