Package org.openrefine.grel.ast
Class PureArgumentsExpr
- java.lang.Object
-
- org.openrefine.grel.ast.PureArgumentsExpr
-
- All Implemented Interfaces:
Serializable
,GrelExpr
- Direct Known Subclasses:
ControlCallExpr
,OperatorCallExpr
public abstract class PureArgumentsExpr extends Object implements GrelExpr
An abstract class for an expression whose column dependencies are the union of those of their arguments.- Author:
- Antonin Delpeuch
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PureArgumentsExpr(GrelExpr[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getColumnDependencies(String baseColumn)
Returns the names of the columns this expression depends on.boolean
isLocal()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrefine.grel.ast.GrelExpr
evaluate, renameColumnDependencies, toString
-
-
-
-
Field Detail
-
_args
protected final GrelExpr[] _args
-
-
Constructor Detail
-
PureArgumentsExpr
public PureArgumentsExpr(GrelExpr[] arguments)
-
-
Method Detail
-
getColumnDependencies
public final Set<String> getColumnDependencies(String baseColumn)
Description copied from interface:GrelExpr
Returns the names of the columns this expression depends on.- Specified by:
getColumnDependencies
in interfaceGrelExpr
- Parameters:
baseColumn
- the name of the column this expression is based on (null if none)- Returns:
- null if the columns could not be isolated: in this case, the expression might depend on all columns in the project.
-
-