Revision 44009 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.expressionevaluator/org.gvsig.expressionevaluator.lib/org.gvsig.expressionevaluator.lib.api/src/main/java/org/gvsig/expressionevaluator/Function.java
Function.java | ||
---|---|---|
40 | 40 |
public boolean useArgumentsInsteadObjects(); |
41 | 41 |
|
42 | 42 |
public boolean isSQLCompatible(); |
43 |
|
|
44 |
/** |
|
45 |
* Returns true if the function always returns the same value for |
|
46 |
* the same parameters. If so, it is possible to optimize the |
|
47 |
* generated code through the process of "constant folding". |
|
48 |
* |
|
49 |
* https://en.wikipedia.org/wiki/Constant_folding |
|
50 |
* |
|
51 |
* @return true if this function allow constant folding optimization. |
|
52 |
*/ |
|
53 |
public boolean allowConstantFolding(); |
|
43 | 54 |
} |
Also available in: Unified diff