public abstract class DelegateConstantToCountParseNode extends AggregateFunctionParseNode
FunctionParseNode.Argument, FunctionParseNode.BuiltInFunction, FunctionParseNode.BuiltInFunctionArgInfo, FunctionParseNode.BuiltInFunctionInfo, FunctionParseNode.FunctionClassType
Constructor and Description |
---|
DelegateConstantToCountParseNode(String name,
List<ParseNode> children,
FunctionParseNode.BuiltInFunctionInfo info) |
Modifier and Type | Method and Description |
---|---|
abstract FunctionExpression |
create(List<Expression> children,
StatementContext context)
Entry point for parser to instantiate compiled representation of built-in function
|
protected CountAggregateFunction |
getDelegateFunction(List<Expression> children,
StatementContext context) |
isStateless
accept, create, equals, evalToNullIfParamIsNull, getInfo, getName, hashCode, isAggregate, toSQL, validate, validateFunctionArguement
getChildren
public DelegateConstantToCountParseNode(String name, List<ParseNode> children, FunctionParseNode.BuiltInFunctionInfo info)
protected CountAggregateFunction getDelegateFunction(List<Expression> children, StatementContext context)
public abstract FunctionExpression create(List<Expression> children, StatementContext context) throws SQLException
FunctionParseNode
create
in class FunctionParseNode
children
- Compiled expressions for child nodescontext
- Query context for accessing state shared across the processing of multiple clausesSQLException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.