Toggle navigation
Home
java.lang.String to org.apache.hadoop.fs.Path
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'pheonix'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> External
Mapping:
Add or Remove Method invocation
path.getParent().toString()
to
getPathForParent(jarPath)
config.get(DYNAMIC_JARS_DIR_KEY)
to
allowedDynamicJarsPath
targetPath.toString()
to
locationService.targetPath(locationHandle,partitionName)
targetPath.toString()
to
locationService.targetPath(locationHandle,partitionName)
writePath
to
requireNonNull(path,"path is null")
Database.builder(database).setLocation(Optional.of("s3://" + writableBucket + "/")).build()
to
Database.builder(database).setLocation(Optional.of(basePath.toString())).build()
dirs.toArray(new String[dirs.size()])
to
dirs.toArray(new Path[dirs.size()])
comparePaths(fd.getSubDir(),subDirIncludes)
to
comparePaths(fd.getSubDir(),subDirIncludes.getName())
HadoopInputFile.fromPath(new Path(path),readerConfig.addCountersToConf(conf))
to
HadoopInputFile.fromPath(path,readerConfig.addCountersToConf(conf))
Path.getPathWithoutSchemeAndAuthority(new Path(selectionRoot)).toString()
to
Path.getPathWithoutSchemeAndAuthority(selectionRoot).toString()
Path.getPathWithoutSchemeAndAuthority(new Path(cacheFileRoot)).toString()
to
Path.getPathWithoutSchemeAndAuthority(cacheFileRoot).toString()
fs.isDirectory(new Path(selectionRoot))
to
fs.isDirectory(selectionRoot)
fs.getFileStatus(new Path(directory))
to
fs.getFileStatus(directory)
fs.makeQualified(new Path(pathToFile))
to
fs.makeQualified(pathToFile)
selectionRoot.contains(tableName)
to
selectionRoot.getName().equals(tableName)
fs.getFileStatus(new Path(selectionRoot)).isDirectory()
to
fs.getFileStatus(selectionRoot).isDirectory()
fs.makeQualified(new Path(pathToFile))
to
fs.makeQualified(pathToFile)
toString
to
getPath
fs.makeQualified(new Path(inputPath))
to
fs.makeQualified(inputPath)
fs.getFileStatus(new Path(pathStr))
to
fs.getFileStatus(pathStr)
Rename Variable
fileName
to
filePath
fileName
to
path
fileName
to
filePath
writePath
to
path
writePath
to
path
writableBucket
to
basePath
writableBucket
to
basePath
writableBucket
to
basePath
TEST_VISIBILITY_DIR
to
TEST_VISIBILITY_CHILD_DIR
parentDir
to
dependencyLibTarGzip
filePath
to
file
Other
new Path(hbaseStagingDir)
to
hbaseStagingDir
new Path(writePath,fileName)
to
path
new Path(TEST_DIR)
to
TEST_DIR
dirIndexRandomizer.nextInt(dirs.size())
to
dirIndexRandomizer.nextInt(dirs.size())
new Path(selectionRoot)
to
selectionRoot
new Path(childPath)
to
childPath
new Path(baseDir)
to
baseDir
new Path(path)
to
path
new Path(filePath)
to
filePath
Wrap or Un-wrap
add
to
add
add
to
add
Cascading Type Change (Similar)
String
to
Path
Introduce Literal
YarnServiceConstants.DEPENDENCY_DIR
to
null
Update Class Instacne Creation
new FileInputStream(path)
to
new FileInputStream(path.toUri().getPath())
Update argument list (Class Instance Creation)
Path
to
Path
Cascading Type Change (Different)
Function<ParquetFileMetadata,String>
to
Function<ParquetFileMetadata,Path>