Package adql.query.operand.function
Enum Class MathFunctionType
- All Implemented Interfaces:
Serializable
,Comparable<MathFunctionType>
,Constable
All types of managed mathematical functions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfinal LanguageFeature
Get the description of the ADQL's Language Feature based on this type.final int
final int
static MathFunctionType
Returns the enum constant of this class with the specified name.static MathFunctionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABS
-
CEILING
-
DEGREES
-
EXP
-
FLOOR
-
LOG
-
LOG10
-
MOD
-
PI
-
POWER
-
RADIANS
-
SQRT
-
RAND
-
ROUND
-
TRUNCATE
-
ACOS
-
ASIN
-
ATAN
-
ATAN2
-
COS
-
COT
-
SIN
-
TAN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
nbMinParams
public final int nbMinParams()- Since:
- 1.2
-
nbMaxParams
public final int nbMaxParams()- Since:
- 1.2
-
getFeatureDescription
Get the description of the ADQL's Language Feature based on this type.Note: Getting this description is generally only useful when discovery optional features so that determining if they are allowed to be used in ADQL queries.
- Returns:
- Description of this ADQL object as an ADQL's feature.
- Since:
- 2.0
- See Also:
-