src/main/java/io/redisearch/client/Client.java
@Override
    public String explain(Query q) {
        ArrayList<byte[]> args = new ArrayList<>(4);
        args.add(this.endocdedIndexName);
        q.serializeRedisArgs(args);

        try (Jedis conn = connection()) {
            return sendCommand(conn, commands.getExplainCommand(), args.toArray(new byte[args.size()][])).getStatusCodeReply();
        }
    }
/**
     * Generate an explanatory textual query tree for this query string
     *
     * @param q The query to explain
     * @return A string describing this query
     */
Generate an explanatory textual query tree for this query string
@param q The query to explain
@return A string describing this query
Generate an explanatory textual query tree for this query string @param q The query to explain @return A string describing this query
@Override
    public String explain(Query q) {
        ArrayList<byte[]> args = new ArrayList<>(4);
        args.add(this.endocdedIndexName);
        q.serializeRedisArgs(args);
        try (Jedis conn = connection()) {
            return sendCommand(conn, commands.getExplainCommand(), args.toArray(new byte[args.size()][])).getStatusCodeReply();
        }
    }
@ Override public String explain ( Query q ) { ArrayList < byte [ ] > args = new ArrayList < > ( 4 ) ; args . add ( this . endocdedIndexName ) ; q . serializeRedisArgs ( args ) ; try ( Jedis conn = connection ( ) ) { return sendCommand ( conn , commands . getExplainCommand ( ) , args . toArray ( new byte [ args . size ( ) ] [ ] ) ) . getStatusCodeReply ( ) ; } }
Generate an explanatory textual query tree for this query string
 @param q The query to explain
 @return A string describing this query
Generate an explanatory textual query tree for this query string @param q The query to explain @return A string describing this query