Toggle navigation
Home
java.lang.String to alluxio.wire.LoadMetadataType
No. of Instances - 1
No. of Commits - 1
No. of Projects - {'alluxio'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
LoadMetadataType.valueOf(loadMetadataType)
to
loadMetadataType
listStatusOptions.setLoadMetadataType(LoadMetadataType.valueOf(loadMetadataType))
to
listStatusOptions.setLoadMetadataType(loadMetadataType)
Update Anonymous class
{ @Override public List<URIStatus> call() throws Exception { Preconditions.checkNotNull(path,"required 'path' parameter is missing"); ListStatusOptions listStatusOptions=ListStatusOptions.defaults(); if (!loadMetadataType.isEmpty()) { listStatusOptions.setLoadMetadataType(LoadMetadataType.valueOf(loadMetadataType)); } return mFileSystem.listStatus(new AlluxioURI(path),listStatusOptions); } }
to
{ @Override public List<URIStatus> call() throws Exception { Preconditions.checkNotNull(path,"required 'path' parameter is missing"); ListStatusOptions listStatusOptions=ListStatusOptions.defaults(); if (loadMetadataType != null) { listStatusOptions.setLoadMetadataType(loadMetadataType); } return mFileSystem.listStatus(new AlluxioURI(path),listStatusOptions); } }