Available Methods
- close ( )
- set ( )
- del ( )
- get ( )
- exists ( )
- expire ( )
- select ( )
- hset ( )
- rpush ( )
- publish ( )
- hget ( )
- lpush ( )
- incr ( )
- sadd ( )
- hdel ( )
- lrange ( )
- setex ( )
- keys ( )
- auth ( )
- hgetAll ( )
- flushAll ( )
- pipelined ( )
- srem ( )
- hmset ( )
- smembers ( )
- scard ( )
- setnx ( )
- connect ( )
- decr ( )
- eval ( )
- multi ( )
- sort ( )
- sismember ( )
- zrangeByScore ( )
- zadd ( )
- hvals ( )
- lpop ( )
- zrange ( )
- rpop ( )
- incrBy ( )
- hmget ( )
- hkeys ( )
- llen ( )
- watch ( )
- brpop ( )
- zrem ( )
- ttl ( )
- linsert ( )
- mget ( )
- configSet ( )
- hexists ( )
- spop ( )
- decrBy ( )
- sdiffstore ( )
- setrange ( )
- zscore ( )
- ltrim ( )
- hlen ( )
- scan ( )
- getSet ( )
- zrevrangeByScoreWithScores ( )
- append ( )
- sdiff ( )
- zcard ( )
- lindex ( )
- subscribe ( )
- rename ( )
- sinter ( )
- lrem ( )
- clientSetname ( )
- persist ( )
- sendCommand ( )
- zrangeWithScores ( )
- zscan ( )
- psubscribe ( )
- zrevrank ( )
- mset ( )
- zrevrangeByScore ( )
- slowlogGet ( )
- flushDB ( )
- sunionstore ( )
- strlen ( )
- disconnect ( )
Related Classes
- java.util.Arrays
- java.util.Collections
- java.util.Date
- java.util.concurrent.TimeUnit
- org.junit.Before
- java.util.UUID
- java.net.URI
- java.util.Map.Entry
- org.junit.Assert
- java.util.Optional
- javax.servlet.http.HttpServletRequest
- com.google.gson.Gson
- org.springframework.context.annotation.Bean
- org.json.JSONObject
- org.apache.commons.lang3.StringUtils
- org.apache.commons.io.IOUtils
- com.google.common.collect.Lists
- org.apache.commons.lang.StringUtils
- org.springframework.util.StringUtils
- com.alibaba.fastjson.JSON
- javax.ws.rs.core.Response
- com.alibaba.fastjson.JSONObject
- redis.clients.jedis.JedisPool
- redis.clients.jedis.JedisPoolConfig
- org.apache.commons.pool2.impl.GenericObjectPoolConfig
Java Code Examples for redis.clients.jedis.Jedis#sendCommand()
The following examples show how to use
redis.clients.jedis.Jedis#sendCommand() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ContextedRedisGraph.java From JRedisGraph with BSD 3-Clause "New" or "Revised" License | 6 votes |
/** * Deletes the entire graph * @param graphId graph to delete * @return delete running time statistics */ @Override public String deleteGraph(String graphId) { Jedis conn = getConnection(); Object response; try { response = conn.sendCommand(RedisGraphCommand.DELETE, graphId); } catch (Exception e) { conn.close(); throw e; } //clear local state caches.removeGraphCache(graphId); return SafeEncoder.encode((byte[]) response); }
Example 2
Source File: ContextedRedisGraph.java From JRedisGraph with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Sends the query over the instance only connection * @param graphId graph to be queried * @param preparedQuery prepared query * @return Result set with the query answer */ @Override protected ResultSet sendQuery(String graphId, String preparedQuery) { Jedis conn = getConnection(); try { List<Object> rawResponse = (List<Object>) conn.sendCommand(RedisGraphCommand.QUERY, graphId, preparedQuery, Utils.COMPACT_STRING); return new ResultSetImpl(rawResponse, this, caches.getGraphCache(graphId)); } catch (JRedisGraphRunTimeException rt) { throw rt; } catch (JedisDataException j) { throw new JRedisGraphCompileTimeException(j); } }