com.redislabs.redisgraph.Record Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jredisgraph Show documentation
Show all versions of jredisgraph Show documentation
Official client for Redis-Graph
package com.redislabs.redisgraph;
import java.util.List;
/**
* Container for RedisGraph result values.
*
* List records are returned from RedisGraph statement execution, contained within a ResultSet.
*/
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
© 2015 - 2024 Weber Informatics LLC | Privacy Policy