public final class MapValueFunction extends DefaultScalarFunction
ColumnType.MAP or similar.| Constructor and Description |
|---|
MapValueFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(Row row,
Object[] parameters,
SelectItem operandItem)
Applies and evaluates the function on a particular row of data.
|
ColumnType |
getExpectedColumnType(ColumnType type) |
String |
getFunctionName() |
toStringpublic Object evaluate(Row row, Object[] parameters, SelectItem operandItem)
ScalarFunctionrow - the row containing dataparameters - any parameters associated with the function calloperandItem - the select item which is the argument to this function. If a
function takes multiple select items, this will be the primary
one.public ColumnType getExpectedColumnType(ColumnType type)
public String getFunctionName()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.