Class SQLFunctionStandardDeviation
- java.lang.Object
-
- com.arcadedb.query.sql.function.SQLFunctionAbstract
-
- com.arcadedb.query.sql.function.math.SQLFunctionVariance
-
- com.arcadedb.query.sql.function.math.SQLFunctionStandardDeviation
-
- All Implemented Interfaces:
SQLFunction
public class SQLFunctionStandardDeviation extends SQLFunctionVariance
Compute the standard deviation for a given field.- Author:
- Fabrizio Fortino
-
-
Field Summary
Fields Modifier and Type Field Description static String
NAME
-
Fields inherited from class com.arcadedb.query.sql.function.SQLFunctionAbstract
name
-
-
Constructor Summary
Constructors Constructor Description SQLFunctionStandardDeviation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getResult()
Only called when function aggregates results after all records have been passed to the function.String
getSyntax()
Returns a convenient SQL String representation of the function.-
Methods inherited from class com.arcadedb.query.sql.function.math.SQLFunctionVariance
aggregateResults, execute
-
Methods inherited from class com.arcadedb.query.sql.function.SQLFunctionAbstract
config, getName, toString
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResult
public Object getResult()
Description copied from interface:SQLFunction
Only called when function aggregates results after all records have been passed to the function.- Specified by:
getResult
in interfaceSQLFunction
- Overrides:
getResult
in classSQLFunctionVariance
- Returns:
- Aggregation result
-
getSyntax
public String getSyntax()
Description copied from interface:SQLFunction
Returns a convenient SQL String representation of the function.Example :
myFunction( param1, param2, [optionalParam3])
This text will be used in exception messages.
- Specified by:
getSyntax
in interfaceSQLFunction
- Overrides:
getSyntax
in classSQLFunctionVariance
- Returns:
- String , never null.
-
-