public abstract class AbstractFuncHolder extends Object implements FuncHolder
| Constructor and Description |
|---|
AbstractFuncHolder() |
| Modifier and Type | Method and Description |
|---|---|
abstract FunctionHolderExpression |
getExpr(String name,
List<LogicalExpression> args,
ExpressionPosition pos) |
abstract int |
getParamCount() |
abstract TypeProtos.MajorType |
getParmMajorType(int i) |
boolean |
isComplexWriterFuncHolder()
Checks that the current function holder stores output value
using field writer instead of vector holder.
|
boolean |
isNested() |
abstract ClassGenerator.HoldingContainer |
renderEnd(ClassGenerator<?> classGenerator,
ClassGenerator.HoldingContainer[] inputVariables,
com.sun.codemodel.JVar[] workspaceJVars,
FieldReference fieldReference)
Generate methods body and complete the code generation.
|
void |
renderMiddle(ClassGenerator<?> g,
ClassGenerator.HoldingContainer[] inputVariables,
com.sun.codemodel.JVar[] workspaceJVars) |
abstract com.sun.codemodel.JVar[] |
renderStart(ClassGenerator<?> g,
ClassGenerator.HoldingContainer[] inputVariables) |
public abstract com.sun.codemodel.JVar[] renderStart(ClassGenerator<?> g, ClassGenerator.HoldingContainer[] inputVariables)
public void renderMiddle(ClassGenerator<?> g, ClassGenerator.HoldingContainer[] inputVariables, com.sun.codemodel.JVar[] workspaceJVars)
public abstract ClassGenerator.HoldingContainer renderEnd(ClassGenerator<?> classGenerator, ClassGenerator.HoldingContainer[] inputVariables, com.sun.codemodel.JVar[] workspaceJVars, FieldReference fieldReference)
classGenerator - the class responsible for code generationinputVariables - the source of the vector holdersworkspaceJVars - class fieldsfieldReference - reference of the output fieldpublic boolean isNested()
public abstract FunctionHolderExpression getExpr(String name, List<LogicalExpression> args, ExpressionPosition pos)
public abstract TypeProtos.MajorType getParmMajorType(int i)
public abstract int getParamCount()
public boolean isComplexWriterFuncHolder()
Copyright © 2017 The Apache Software Foundation. All rights reserved.