Class GraphCache
- java.lang.Object
-
- com.redislabs.redisgraph.impl.graph_cache.GraphCache
-
public class GraphCache extends Object
A class to store a local cache in the client, for a specific graph. Holds the labels, property names and relationship types
-
-
Constructor Summary
Constructors Constructor Description GraphCache(String graphId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel(int index, RedisGraph redisGraph)
String
getPropertyName(int index, RedisGraph redisGraph)
String
getRelationshipType(int index, RedisGraph redisGraph)
-
-
-
Constructor Detail
-
GraphCache
public GraphCache(String graphId)
- Parameters:
graphId
- - graph Id
-
-
Method Detail
-
getLabel
public String getLabel(int index, RedisGraph redisGraph)
- Parameters:
index
- - index of label- Returns:
- requested label
-
getRelationshipType
public String getRelationshipType(int index, RedisGraph redisGraph)
- Parameters:
index
- index of the relationship type- Returns:
- requested relationship type
-
getPropertyName
public String getPropertyName(int index, RedisGraph redisGraph)
- Parameters:
index
- index of property name- Returns:
- requested property
-
-