OmniSciDB  72c90bc290
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mapd.parser.extension.ddl.SqlFirstLastValueInFrame Class Reference
+ Inheritance diagram for com.mapd.parser.extension.ddl.SqlFirstLastValueInFrame:
+ Collaboration diagram for com.mapd.parser.extension.ddl.SqlFirstLastValueInFrame:

Public Member Functions

 SqlFirstLastValueInFrame (String functionName, SqlKind kind)
 
boolean allowsNullTreatment ()
 
boolean allowsFraming ()
 

Detailed Description

Definition at line 14 of file SqlFirstLastValueInFrame.java.

Constructor & Destructor Documentation

com.mapd.parser.extension.ddl.SqlFirstLastValueInFrame.SqlFirstLastValueInFrame ( String  functionName,
SqlKind  kind 
)
inline

Definition at line 17 of file SqlFirstLastValueInFrame.java.

17  {
18  super(functionName,
19  null,
20  kind,
21  ReturnTypes.ARG0_NULLABLE_IF_EMPTY,
22  null,
23  OperandTypes.ANY,
24  SqlFunctionCategory.NUMERIC,
25  true,
26  true,
27  Optionality.FORBIDDEN);
28  Preconditions.checkArgument(
29  kind == SqlKind.FIRST_VALUE || kind == SqlKind.LAST_VALUE);
30  }

Member Function Documentation

boolean com.mapd.parser.extension.ddl.SqlFirstLastValueInFrame.allowsFraming ( )
inline

Definition at line 40 of file SqlFirstLastValueInFrame.java.

40  {
41  return true;
42  }
boolean com.mapd.parser.extension.ddl.SqlFirstLastValueInFrame.allowsNullTreatment ( )
inline

Definition at line 35 of file SqlFirstLastValueInFrame.java.

35  {
36  return true;
37  }

The documentation for this class was generated from the following file: