@Test public void listFunction() { int count = 0; for (Function f : odps.functions()) { ++count; Assert.assertNotNull(f.getOwner()); } assertTrue("function nums > 0 ", count > 0); }
public String getOwner() { if (model.owner == null && client != null) { lazyLoad(); } return model.owner; }
Function extends LazyLoad { public String getOwner() { if (model.owner == null && client != null) { lazyLoad(); } return model.owner; } }
Function extends LazyLoad { public String getOwner() { if (model.owner == null && client != null) { lazyLoad(); } return model.owner; } Function();   Function(FunctionModel functionModel, String project, Odps odps); }
Function extends LazyLoad { public String getOwner() { if (model.owner == null && client != null) { lazyLoad(); } return model.owner; } 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 { public String getOwner() { if (model.owner == null && client != null) { lazyLoad(); } return model.owner; } 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);  }