public class RedisGraphCaches extends Object
Constructor and Description |
---|
RedisGraphCaches() |
Modifier and Type | Method and Description |
---|---|
GraphCache |
getGraphCache(String graphId) |
String |
getLabel(String graphId,
int index,
RedisGraph redisGraph)
Returns a String which represents the name of the label mapped to the label id
|
String |
getPropertyName(String graphId,
int index,
RedisGraph redisGraph)
Returns a String which represents the name of the property mapped to the label id
|
String |
getRelationshipType(String graphId,
int index,
RedisGraph redisGraph)
Returns a String which represents the name of the relationship mapped to the label id
|
void |
removeGraphCache(String graphId)
Removes a graph meta data cache
|
public GraphCache getGraphCache(String graphId)
public String getLabel(String graphId, int index, RedisGraph redisGraph)
graphId
- graph to perform the queryindex
- label indexredisGraph
- RedisGraphAPI implementationpublic String getRelationshipType(String graphId, int index, RedisGraph redisGraph)
graphId
- graph to perform the queryindex
- relationship indexredisGraph
- RedisGraphAPI implementationpublic String getPropertyName(String graphId, int index, RedisGraph redisGraph)
graphId
- graph to perform the queryindex
- property indexredisGraph
- RedisGraphAPI implementationpublic void removeGraphCache(String graphId)
graphId
- Copyright © 2020 RedisLabs. All rights reserved.