public abstract class ScalarFn
extends java.lang.Object
implements java.io.Serializable
ScalarFn.ApplyMethod
, which will be applied to the SQL function
arguments at runtime.
For example:
public class IncrementFn extends ScalarFn {
@ApplyMethod
public Long increment(Long i) {
return i + 1;
}
}
Modifier and Type | Class and Description |
---|---|
static interface |
ScalarFn.ApplyMethod
Annotates the single method in a
ScalarFn implementation that is to be applied to SQL
function arguments. |
Constructor and Description |
---|
ScalarFn() |