Class ExpressionTransform
- java.lang.Object
-
- org.apache.druid.segment.transform.ExpressionTransform
-
-
Constructor Summary
Constructors Constructor Description ExpressionTransform(String name, String expression, ExprMacroTable macroTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetExpression()StringgetName()Returns the field name for this transform.Set<String>getRequiredColumns()Returns the names of all columns that this transform is going to read.RowFunctiongetRowFunction()Returns the function for this transform.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
ExpressionTransform
public ExpressionTransform(String name, String expression, ExprMacroTable macroTable)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:TransformReturns the field name for this transform.
-
getExpression
public String getExpression()
-
getRowFunction
public RowFunction getRowFunction()
Description copied from interface:TransformReturns the function for this transform. The RowFunction takes an entire row as input and returns a column value as output.- Specified by:
getRowFunctionin interfaceTransform
-
getRequiredColumns
public Set<String> getRequiredColumns()
Description copied from interface:TransformReturns the names of all columns that this transform is going to read.- Specified by:
getRequiredColumnsin interfaceTransform
-
-