public interface ScalarFunction extends FunctionType
AVG, COUNT, MAX, MIN, SUM, TO_BOOLEAN, TO_DATE, TO_NUMBER, TO_STRING
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(Row row,
SelectItem operandItem)
Applies and evaluates the function on a particular row of data.
|
getExpectedColumnType, getFunctionName
Object evaluate(Row row, SelectItem operandItem)
row
- the row containing dataoperandItem
- the select item which is the argument to this function. If a
function takes multiple select items, this will be the primary
one.Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.