redis.clients.jedis.graph.Record Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis_preview Show documentation
Show all versions of jedis_preview Show documentation
Jedis is a blazingly small and sane Redis java client.
The newest version!
package redis.clients.jedis.graph;
import java.util.List;
/**
* Container for RedisGraph result values.
*
* List records are returned from RedisGraph statement execution, contained within a ResultSet.
*
* @deprecated Redis Graph support is deprecated.
*/
@Deprecated
public interface Record {
/**
* The value at the given field index
*
* @param index field index
*
* @return the value
*/
T getValue(int index);
/**
* The value at the given field
*
* @param key header key
*
* @return the value
*/
T getValue(String key);
/**
* The value at the given field index (represented as String)
*
* @param index
* @return string representation of the value
*/
String getString(int index);
/**
* The value at the given field (represented as String)
*
* @param key header key
*
* @return string representation of the value
*/
String getString(String key);
/**
* The keys of the record
*
* @return list of the record key
*/
List keys();
/**
* The values of the record
*
* @return list of the record values
*/
List