本文整理了Java中org.apache.gobblin.config.store.zip.ZipFileConfigStore.getOwnImports()
方法的一些代码示例,展示了ZipFileConfigStore.getOwnImports()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipFileConfigStore.getOwnImports()
方法的具体详情如下:
包路径:org.apache.gobblin.config.store.zip.ZipFileConfigStore
类名称:ZipFileConfigStore
方法名:getOwnImports
[英]Retrieves all the ConfigKeyPaths that are imported by the given ConfigKeyPath. Similar to SimpleHadoopFilesystemConfigStore#getOwnImports
[中]检索由给定ConfigKeyPath导入的所有ConfigKeyPath。类似于SimpleHadopFileSystemConfigStore#getOwnImports
代码示例来源:origin: apache/incubator-gobblin
/**
* Retrieves all the {@link ConfigKeyPath}s that are imported by the given {@link ConfigKeyPath}. Similar to
* {@link SimpleHadoopFilesystemConfigStore#getOwnImports}
*/
@Override
public List<ConfigKeyPath> getOwnImports(ConfigKeyPath configKey, String version) {
return getOwnImports(configKey, version, Optional.<Config>absent());
}
代码示例来源:origin: apache/incubator-gobblin
@Test
public void testGetOwnImports() {
Collection<ConfigKeyPath> imports1 = this.store.getOwnImports(this.child1Path, this.version);
Assert.assertEquals(imports1.size(), 1);
Assert.assertTrue(imports1.contains(this.child1Path));
Collection<ConfigKeyPath> imports2 = this.store.getOwnImports(this.child2Path, this.version);
Assert.assertEquals(imports2.size(), 0);
}
代码示例来源:origin: org.apache.gobblin/gobblin-config-core
/**
* Retrieves all the {@link ConfigKeyPath}s that are imported by the given {@link ConfigKeyPath}. Similar to
* {@link SimpleHadoopFilesystemConfigStore#getOwnImports}
*/
@Override
public List<ConfigKeyPath> getOwnImports(ConfigKeyPath configKey, String version) {
return getOwnImports(configKey, version, Optional.<Config>absent());
}
内容来源于网络,如有侵权,请联系作者删除!