All Downloads are FREE. Search and download functionalities are using the official Maven repository.

redis.clients.jedis.graph.GraphCache Maven / Gradle / Ivy

There is a newer version: 5.2.0
Show newest version
package redis.clients.jedis.graph;

/**
 * Store a local cache in the client, for a specific graph. Holds the labels, property names and
 * relationship types.
 */
interface GraphCache {

  /**
   * @param index - index of label
   * @return requested label
   */
  String getLabel(int index);

  /**
   * @param index index of the relationship type
   * @return requested relationship type
   */
  String getRelationshipType(int index);

  /**
   * @param index index of property name
   * @return requested property
   */
  String getPropertyName(int index);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy