Package net.hollowcube.mql.jit
Interface MqlQueryScript<Query>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An example MQL script interface. May be used if only a query object is required, otherwise serves as documentation.
A script interface is a java interface with the following properties:
- Must be public, non-sealed.
- Must have a single abstract method which returns a double (
FunctionalInterfacecan enforce this at compile time, but is not required) - The abstract method may have 1 or more parameters, but all must be annotated with
MqlEnv. - The abstract method may not have generic parameters.
- The interface may use generic parameters, but they must be passed to the
MqlCompiler
-
Method Summary
-
Method Details
-
evaluate
-