@Test(expected = NoSuchObjectException.class) public void getFunctionNotExist() throws OdpsException { Function function = odps.functions().get("NOT_EXISTS"); function.reload(); }
@Override public void reload() throws OdpsException { String resource = ResourceBuilder.buildFunctionResource(project, model.name); model = client.request(FunctionModel.class, resource, "GET", null); }
Function extends LazyLoad { @Override public void reload() throws OdpsException { String resource = ResourceBuilder.buildFunctionResource(project, model.name); model = client.request(FunctionModel.class, resource, "GET", null); } }
Function extends LazyLoad { @Override public void reload() throws OdpsException { String resource = ResourceBuilder.buildFunctionResource(project, model.name); model = client.request(FunctionModel.class, resource, "GET", null); } Function();   Function(FunctionModel functionModel, String project, Odps odps); }
Function extends LazyLoad { @Override public void reload() throws OdpsException { String resource = ResourceBuilder.buildFunctionResource(project, model.name); model = client.request(FunctionModel.class, resource, "GET", null); } Function();   Function(FunctionModel functionModel, String project, Odps odps); String getName(); void setName(String name); String getOwner(); Date getCreatedTime(); @Deprecated String getClassType(); String getClassPath(); @Deprecated void setClassType(String classType); void setClassPath(String classPath); List<Resource> getResources(); List<String> getResourceNames(); void setResources(List<String> resources); String getProject(); boolean isSqlFunction(); String getSqlDefinitionText(); @Override void reload(); void updateOwner(String newOwner); }
Function extends LazyLoad { @Override public void reload() throws OdpsException { String resource = ResourceBuilder.buildFunctionResource(project, model.name); model = client.request(FunctionModel.class, resource, "GET", null); } Function();   Function(FunctionModel functionModel, String project, Odps odps); String getName(); void setName(String name); String getOwner(); Date getCreatedTime(); @Deprecated String getClassType(); String getClassPath(); @Deprecated void setClassType(String classType); void setClassPath(String classPath); List<Resource> getResources(); List<String> getResourceNames(); void setResources(List<String> resources); String getProject(); boolean isSqlFunction(); String getSqlDefinitionText(); @Override void reload(); void updateOwner(String newOwner);  }