public class FunctionDesc extends Object implements ProtoObject<CatalogProtos.FunctionDescProto>, Cloneable, GsonObject
Constructor and Description |
---|
FunctionDesc() |
FunctionDesc(CatalogProtos.FunctionDescProto proto) |
FunctionDesc(String signature,
Class<? extends Function> clazz,
CatalogProtos.FunctionType funcType,
TajoDataTypes.DataType retType,
TajoDataTypes.DataType[] params) |
FunctionDesc(String signature,
String className,
CatalogProtos.FunctionType type,
TajoDataTypes.DataType retType,
TajoDataTypes.DataType... argTypes) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
static String |
dataTypesToStr(List<TajoDataTypes.DataType> parameterTypesList) |
boolean |
equals(Object obj) |
String |
getDescription() |
String |
getDetail() |
String |
getExample() |
Class<? extends Function> |
getFuncClass() |
CatalogProtos.FunctionType |
getFuncType() |
String |
getHelpSignature() |
TajoDataTypes.DataType[] |
getParamTypes() |
CatalogProtos.FunctionDescProto |
getProto() |
TajoDataTypes.DataType |
getReturnType() |
String |
getSignature() |
int |
hashCode() |
Function |
newInstance() |
void |
setDescription(String description) |
void |
setDetail(String detail) |
void |
setExample(String example) |
String |
toJson() |
String |
toString() |
public FunctionDesc()
public FunctionDesc(String signature, Class<? extends Function> clazz, CatalogProtos.FunctionType funcType, TajoDataTypes.DataType retType, TajoDataTypes.DataType[] params)
public FunctionDesc(CatalogProtos.FunctionDescProto proto) throws ClassNotFoundException
ClassNotFoundException
public FunctionDesc(String signature, String className, CatalogProtos.FunctionType type, TajoDataTypes.DataType retType, TajoDataTypes.DataType... argTypes) throws ClassNotFoundException
ClassNotFoundException
public Function newInstance() throws InternalException
InternalException
public String getSignature()
public Class<? extends Function> getFuncClass() throws InternalException
InternalException
public CatalogProtos.FunctionType getFuncType()
public TajoDataTypes.DataType[] getParamTypes()
public TajoDataTypes.DataType getReturnType()
public String getDescription()
public String getDetail()
public String getExample()
public void setDescription(String description)
public void setDetail(String detail)
public void setExample(String example)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public CatalogProtos.FunctionDescProto getProto()
getProto
in interface ProtoObject<CatalogProtos.FunctionDescProto>
public String toJson()
toJson
in interface GsonObject
public String getHelpSignature()
public static String dataTypesToStr(List<TajoDataTypes.DataType> parameterTypesList)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.