@Test public void testGetOwningRepository_NoOwningRepository() { HTableDescriptor tableDescriptor = new HTableDescriptor("MyTable"); assertNull(RepoAndTableUtil.getOwningRepository(tableDescriptor)); }
public static String getOwningRepository(HTableDescriptor tableDescriptor) { return tableDescriptor.getValue(OWNING_REPOSITORY_KEY); }
RepoAndTableUtil { public static String getOwningRepository(HTableDescriptor tableDescriptor) { return tableDescriptor.getValue(OWNING_REPOSITORY_KEY); } }
RepoAndTableUtil { public static String getOwningRepository(HTableDescriptor tableDescriptor) { return tableDescriptor.getValue(OWNING_REPOSITORY_KEY); }  }
RepoAndTableUtil { public static String getOwningRepository(HTableDescriptor tableDescriptor) { return tableDescriptor.getValue(OWNING_REPOSITORY_KEY); }  static final boolean belongsToRepository(String hbaseTableName, String repositoryName); static String getHBaseTableName(String repositoryName, String tableName); static boolean isValidTableName(String name); static String extractLilyTableName(String repositoryName, String hbaseTableName); static String[] getRepositoryAndTable(String hbaseTableName); static void setRepositoryOwnership(HTableDescriptor tableDescriptor, String repositoryName); static String getOwningRepository(HTableDescriptor tableDescriptor); }
RepoAndTableUtil { public static String getOwningRepository(HTableDescriptor tableDescriptor) { return tableDescriptor.getValue(OWNING_REPOSITORY_KEY); }  static final boolean belongsToRepository(String hbaseTableName, String repositoryName); static String getHBaseTableName(String repositoryName, String tableName); static boolean isValidTableName(String name); static String extractLilyTableName(String repositoryName, String hbaseTableName); static String[] getRepositoryAndTable(String hbaseTableName); static void setRepositoryOwnership(HTableDescriptor tableDescriptor, String repositoryName); static String getOwningRepository(HTableDescriptor tableDescriptor); static final String DEFAULT_REPOSITORY; static final String REPOSITORY_TABLE_SEPARATOR; static final String VALID_NAME_EXPLANATION; }