public class DistinctFunction extends AbstractFunction
Modifier and Type | Field and Description |
---|---|
protected String |
code |
static String |
CODE
The code of the function.
|
localeManager, precission
Constructor and Description |
---|
DistinctFunction() |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
boolean |
isTypeSupported(Class type) |
double |
scalar(Collection values) |
void |
setCode(String code) |
getDescription, getName, round
public static final String CODE
protected String code
public String getCode()
public void setCode(String code)
public boolean isTypeSupported(Class type)
isTypeSupported
in interface ScalarFunction
isTypeSupported
in class AbstractFunction
public double scalar(Collection values)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.