public class ToDateFunction extends DefaultScalarFunction
AVG, COUNT, MAX, MIN, SUM, TO_BOOLEAN, TO_DATE, TO_NUMBER, TO_STRING| Constructor and Description |
|---|
ToDateFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Row row,
SelectItem item)
Applies and evaluates the function on a particular row of data.
|
ColumnType |
getExpectedColumnType(ColumnType type) |
String |
getFunctionName() |
toStringpublic ColumnType getExpectedColumnType(ColumnType type)
public String getFunctionName()
public Object evaluate(Row row, SelectItem item)
ScalarFunctionrow - the row containing dataitem - 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.