Base class for all GroovyExpression and GroovyMethod's within n-cube CommandCells.
Modifiers | Name | Description |
---|---|---|
protected static org.apache.logging.log4j.Logger |
LOG |
|
private static java.util.concurrent.ConcurrentMap<ApplicationID, java.util.concurrent.ConcurrentMap<java.lang.String, java.lang.reflect.Method>> |
methodCache |
Fields inherited from class | Fields |
---|---|
class NCubeGroovyExpression |
input, ncube, output |
Constructor and description |
---|
NCubeGroovyController
() |
Type | Name and description |
---|---|
static void |
clearCache(ApplicationID appId) |
private static java.util.Map<java.lang.String, java.lang.reflect.Method> |
getMethodCache(ApplicationID appId) Fetch the Map of n-cubes for the given ApplicationID. |
java.lang.Object |
run(java.lang.String signature) Run the groovy method named by the column on the 'method' axis. |
Methods inherited from class | Name |
---|---|
class NCubeGroovyExpression |
at, at, at, elapsedMillis, getApplicationID, getAxis, getAxis, getColumn, getColumn, getCube, getCubeNames, getCubeRecords, getRelativeCubeCell, go, go, go, jump, now, ruleStop, run, runRuleCube, search, url, urlToBytes |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Fetch the Map of n-cubes for the given ApplicationID. If no cache yet exists, a new empty cache is added.
Run the groovy method named by the column on the 'method' axis.
signature
- String SHA1 of the source file. This is used to
ensure the method cache 'key' is unique. If someone uses the same
package and class name for two classes, but their source is different,
their methods will be keyed uniquely in the cache.