test_class.declarator: TEST_PATH = "target/test-data/TestFunctionDesc"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_PATH = "target/test-data/TestFunctionDesc";
test_class.type: String
test_class.var_name: TEST_PATH
test_class.file: tajo-catalog/tajo-catalog-common/src/test/java/org/apache/tajo/catalog/TestFunctionDesc.java
test_class.identifier: TestFunctionDesc
test_case.body: @Test
    public void testGetSignature() throws IOException, ClassNotFoundException {
      FunctionDesc desc = new FunctionDesc("sum", TestSum.class, FunctionType.GENERAL,
          CatalogUtil.newSimpleDataType(Type.INT4),
          CatalogUtil.newSimpleDataTypeArray(Type.INT4, Type.INT8));
      desc.setDescription("desc");
      desc.setExample("example");
      desc.setDetail("detail");
  
      assertEquals("sum", desc.getSignature());
      assertEquals(TestSum.class, desc.getFuncClass());
      assertEquals(FunctionType.GENERAL, desc.getFuncType());
      assertEquals(Type.INT4, desc.getReturnType().getType());
      assertArrayEquals(CatalogUtil.newSimpleDataTypeArray(Type.INT4, Type.INT8),
          desc.getParamTypes());
  
      CommonTestingUtil.getTestDir(TEST_PATH);
      File save = new File(TEST_PATH + "/save.dat");
      FileUtil.writeProto(save, desc.getProto());
  
      FunctionDescProto proto = FunctionDescProto.getDefaultInstance();
      proto = (FunctionDescProto) FileUtil.loadProto(save, proto);
  
      FunctionDesc newDesc = new FunctionDesc(proto);
  
      assertEquals("sum", newDesc.getSignature());
      assertEquals(TestSum.class, newDesc.getFuncClass());
      assertEquals(FunctionType.GENERAL, newDesc.getFuncType());
      assertEquals(Type.INT4, newDesc.getReturnType().getType());
  
      assertArrayEquals(CatalogUtil.newSimpleDataTypeArray(Type.INT4, Type.INT8),
          newDesc.getParamTypes());
  
      assertEquals(desc.getProto(), newDesc.getProto());
    }
test_case.class_method_signature: TestFunctionDesc.testGetSignature()
test_case.full_signature: @Test public void testGetSignature()
test_case.identifier: testGetSignature
test_case.invocations: newSimpleDataType newSimpleDataTypeArray setDescription setExample setDetail assertEquals getSignature assertEquals getFuncClass assertEquals getFuncType assertEquals getType getReturnType assertArrayEquals newSimpleDataTypeArray getParamTypes getTestDir writeProto getProto getDefaultInstance loadProto assertEquals getSignature assertEquals getFuncClass assertEquals getFuncType assertEquals getType getReturnType assertArrayEquals newSimpleDataTypeArray getParamTypes assertEquals getProto getProto
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetSignature()
focal_class.declarator: builder = FunctionDescProto.newBuilder()
focal_class.modifier: private
focal_class.original_string: private FunctionDescProto.Builder builder = FunctionDescProto.newBuilder();
focal_class.type: FunctionDescProto.Builder
focal_class.var_name: builder
focal_class.declarator: signature
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private String signature;
focal_class.type: String
focal_class.var_name: signature
focal_class.declarator: funcClass
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private Class<? extends Function> funcClass;
focal_class.type: Class<? extends Function>
focal_class.var_name: funcClass
focal_class.declarator: funcType
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private FunctionType funcType;
focal_class.type: FunctionType
focal_class.var_name: funcType
focal_class.declarator: returnType
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private DataType returnType;
focal_class.type: DataType
focal_class.var_name: returnType
focal_class.declarator: params
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private DataType [] params;
focal_class.type: DataType []
focal_class.var_name: params
focal_class.declarator: description
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private String description;
focal_class.type: String
focal_class.var_name: description
focal_class.declarator: detail
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private String detail;
focal_class.type: String
focal_class.var_name: detail
focal_class.declarator: example
focal_class.modifier: @Expose private
focal_class.original_string: @Expose private String example;
focal_class.type: String
focal_class.var_name: example
focal_class.file: tajo-catalog/tajo-catalog-common/src/main/java/org/apache/tajo/catalog/FunctionDesc.java
focal_class.identifier: FunctionDesc
focal_class.interfaces: implements ProtoObject<FunctionDescProto>, Cloneable, GsonObject
focal_class.class_method_signature: FunctionDesc.FunctionDesc()
focal_class.full_signature: public  FunctionDesc()
focal_class.identifier: FunctionDesc
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  FunctionDesc()
focal_class.class_method_signature: FunctionDesc.FunctionDesc(String signature, Class<? extends Function> clazz,
        FunctionType funcType, DataType retType,
        DataType [] params)
focal_class.full_signature: public  FunctionDesc(String signature, Class<? extends Function> clazz,
        FunctionType funcType, DataType retType,
        DataType [] params)
focal_class.identifier: FunctionDesc
focal_class.modifiers: public
focal_class.parameters: (String signature, Class<? extends Function> clazz,
        FunctionType funcType, DataType retType,
        DataType [] params)
focal_class.signature:  FunctionDesc(String signature, Class<? extends Function> clazz,
        FunctionType funcType, DataType retType,
        DataType [] params)
focal_class.class_method_signature: FunctionDesc.FunctionDesc(FunctionDescProto proto)
focal_class.full_signature: public  FunctionDesc(FunctionDescProto proto)
focal_class.identifier: FunctionDesc
focal_class.modifiers: public
focal_class.parameters: (FunctionDescProto proto)
focal_class.signature:  FunctionDesc(FunctionDescProto proto)
focal_class.class_method_signature: FunctionDesc.FunctionDesc(String signature, String className, FunctionType type,
                        DataType retType,
                        DataType... argTypes)
focal_class.full_signature: public  FunctionDesc(String signature, String className, FunctionType type,
                        DataType retType,
                        DataType... argTypes)
focal_class.identifier: FunctionDesc
focal_class.modifiers: public
focal_class.parameters: (String signature, String className, FunctionType type,
                        DataType retType,
                        DataType... argTypes)
focal_class.signature:  FunctionDesc(String signature, String className, FunctionType type,
                        DataType retType,
                        DataType... argTypes)
focal_class.class_method_signature: FunctionDesc.newInstance()
focal_class.full_signature: public Function newInstance()
focal_class.identifier: newInstance
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Function
focal_class.signature: Function newInstance()
focal_class.class_method_signature: FunctionDesc.getSignature()
focal_class.full_signature: public String getSignature()
focal_class.identifier: getSignature
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSignature()
focal_class.class_method_signature: FunctionDesc.getFuncClass()
focal_class.full_signature: @SuppressWarnings("unchecked") public Class<? extends Function> getFuncClass()
focal_class.identifier: getFuncClass
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: ()
focal_class.return: Class<? extends Function>
focal_class.signature: Class<? extends Function> getFuncClass()
focal_class.class_method_signature: FunctionDesc.getFuncType()
focal_class.full_signature: public FunctionType getFuncType()
focal_class.identifier: getFuncType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: FunctionType
focal_class.signature: FunctionType getFuncType()
focal_class.class_method_signature: FunctionDesc.getParamTypes()
focal_class.full_signature: public DataType [] getParamTypes()
focal_class.identifier: getParamTypes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DataType []
focal_class.signature: DataType [] getParamTypes()
focal_class.class_method_signature: FunctionDesc.getReturnType()
focal_class.full_signature: public DataType getReturnType()
focal_class.identifier: getReturnType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DataType
focal_class.signature: DataType getReturnType()
focal_class.class_method_signature: FunctionDesc.getDescription()
focal_class.full_signature: public String getDescription()
focal_class.identifier: getDescription
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDescription()
focal_class.class_method_signature: FunctionDesc.getDetail()
focal_class.full_signature: public String getDetail()
focal_class.identifier: getDetail
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDetail()
focal_class.class_method_signature: FunctionDesc.getExample()
focal_class.full_signature: public String getExample()
focal_class.identifier: getExample
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getExample()
focal_class.class_method_signature: FunctionDesc.setDescription(String description)
focal_class.full_signature: public void setDescription(String description)
focal_class.identifier: setDescription
focal_class.modifiers: public
focal_class.parameters: (String description)
focal_class.return: void
focal_class.signature: void setDescription(String description)
focal_class.class_method_signature: FunctionDesc.setDetail(String detail)
focal_class.full_signature: public void setDetail(String detail)
focal_class.identifier: setDetail
focal_class.modifiers: public
focal_class.parameters: (String detail)
focal_class.return: void
focal_class.signature: void setDetail(String detail)
focal_class.class_method_signature: FunctionDesc.setExample(String example)
focal_class.full_signature: public void setExample(String example)
focal_class.identifier: setExample
focal_class.modifiers: public
focal_class.parameters: (String example)
focal_class.return: void
focal_class.signature: void setExample(String example)
focal_class.class_method_signature: FunctionDesc.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: FunctionDesc.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: FunctionDesc.clone()
focal_class.full_signature: @Override public Object clone()
focal_class.identifier: clone
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object clone()
focal_class.class_method_signature: FunctionDesc.getProto()
focal_class.full_signature: @Override public FunctionDescProto getProto()
focal_class.identifier: getProto
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: FunctionDescProto
focal_class.signature: FunctionDescProto getProto()
focal_class.class_method_signature: FunctionDesc.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: FunctionDesc.toJson()
focal_class.full_signature: public String toJson()
focal_class.identifier: toJson
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toJson()
focal_class.class_method_signature: FunctionDesc.getHelpSignature()
focal_class.full_signature: public String getHelpSignature()
focal_class.identifier: getHelpSignature
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHelpSignature()
focal_class.class_method_signature: FunctionDesc.dataTypesToStr(List<DataType> parameterTypesList)
focal_class.full_signature: public static String dataTypesToStr(List<DataType> parameterTypesList)
focal_class.identifier: dataTypesToStr
focal_class.modifiers: public static
focal_class.parameters: (List<DataType> parameterTypesList)
focal_class.return: String
focal_class.signature: String dataTypesToStr(List<DataType> parameterTypesList)
focal_method.body: public String getSignature() {
      return this.signature;
    }
focal_method.class_method_signature: FunctionDesc.getSignature()
focal_method.full_signature: public String getSignature()
focal_method.identifier: getSignature
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: String
focal_method.signature: String getSignature()