|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.spi.impl.Scripts
public class Scripts
Provides implementations of a variety of SPIs using scripting.
| Nested Class Summary | |
|---|---|
static class |
Scripts.ScriptDefinition
|
static class |
Scripts.ScriptLanguage
|
| Constructor Summary | |
|---|---|
Scripts()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scripts()
| Method Detail |
|---|
public static PropertyFormatter propertyFormatter(Scripts.ScriptDefinition script)
PropertyFormatter SPI based on
a script.
script - Script
public static MemberFormatter memberFormatter(Scripts.ScriptDefinition script)
MemberFormatter SPI based on
a script.
script - Script
public static CellFormatter cellFormatter(Scripts.ScriptDefinition script)
CellFormatter SPI based on
a script.
script - Script
public static DataSourceChangeListener dataSourceChangeListener(Scripts.ScriptDefinition script)
DataSourceChangeListener SPI
based on a script.
script - Script
public static DataSourceResolver dataSourceResolver(Scripts.ScriptDefinition script)
DataSourceResolver SPI based on
a script.
script - Script
public static DynamicSchemaProcessor dynamicSchemaProcessor(Scripts.ScriptDefinition script)
DynamicSchemaProcessor SPI based
on a script.
script - Script
public static UserDefinedFunction userDefinedFunction(Scripts.ScriptDefinition script,
String name)
UserDefinedFunction SPI based on
a script.
The script must declare an object called "obj" that must have a method "evaluate(evaluator, arguments)" and may have fields "name", "description", "syntax", "parameterTypes" and method "getReturnType(parameterTypes)".
script - Script
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||