protected static class OpenSchemaPlanner.Cache extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
OpenSchemaPlanner.Cache.Entry
Entry inner class
|
Modifier and Type | Field and Description |
---|---|
protected Map<OpenSchemaPlanner.Node,List<OpenSchemaPlanner.Cache.Entry>> |
cache
The cache itself, as a map from nodes to Entry.
|
Constructor and Description |
---|
Cache()
Construct an empty cache.
|
Modifier and Type | Method and Description |
---|---|
List<Map<Object,Frame>> |
fetch(OpenSchemaPlanner.Node node,
Map<String,Frame> vars)
Access the cache by searching for the list of values for this node and variables.
|
void |
populate(OpenSchemaPlanner.Node node,
Map<String,Frame> vars,
List<Map<Object,Frame>> values)
Populate the cache entry for a node and variables with the values.
|
protected Map<OpenSchemaPlanner.Node,List<OpenSchemaPlanner.Cache.Entry>> cache
Copyright © 2015 Pablo Duboue. All rights reserved.