Optional < Integer > function ( FileSystem arg0 , Path arg1 , final String arg2 , final String arg3 , final String arg4 ) { Optional < HoodieLogFile > loc0 = getLatestLogFile ( getAllLogFiles ( arg0 , arg1 , arg2 , arg3 , arg4 ) ) ; if ( loc0 . isPresent ( ) ) { return Optional . of ( loc0 . get ( ) . getLogVersion ( ) ) ; } return Optional . empty ( ) ; }
get the latest log version for the fileid in the partition path concode_field_sep Logger LOG concode_elem_sep long MIN_CLEAN_TO_KEEP concode_elem_sep int MAX_ATTEMPTS_RECOVER_LEASE concode_elem_sep long MIN_ROLLBACK_TO_KEEP concode_elem_sep Pattern LOG_FILE_PATTERN concode_elem_sep FileSystem fs concode_field_sep Long getSizeInMB concode_elem_sep Optional<HoodieLogFile> getLatestLogFile concode_elem_sep void createPathIfNotExists concode_elem_sep Stream<HoodieLogFile> getAllLogFiles concode_elem_sep void deleteOlderRollbackMetaFiles concode_elem_sep void setFs concode_elem_sep String getRelativePartitionPath concode_elem_sep String maskWithoutTaskPartitionId concode_elem_sep void deleteOlderCleanMetaFiles concode_elem_sep String makeDataFileName concode_elem_sep String getBaseCommitTimeFromLogPath concode_elem_sep long getFileSize concode_elem_sep Short getDefaultReplication concode_elem_sep List<String> getAllPartitionPaths concode_elem_sep FileSystem getFs concode_elem_sep boolean recoverDFSFileLease concode_elem_sep String maskWithoutFileId concode_elem_sep int getCurrentLogVersion concode_elem_sep String getCommitTime concode_elem_sep String makeLogFileName concode_elem_sep String getInstantTime concode_elem_sep Long getDefaultBlockSize concode_elem_sep String getFileId concode_elem_sep int getFileVersionFromLog concode_elem_sep String getFileExtensionFromLog concode_elem_sep String maskWithOnlyCommitTime concode_elem_sep int computeNextLogVersion concode_elem_sep List<String> getAllFoldersWithPartitionMetaFile concode_elem_sep String getFileExtension concode_elem_sep String getFileIdFromLogPath concode_elem_sep int getDefaultBufferSize concode_elem_sep List<String> getAllFoldersThreeLevelsDown concode_elem_sep String maskWithoutLogVersion concode_elem_sep String getCommitFromCommitFile