public Path getAuditFilePath ( ) { StringBuilder auditFileNameBuilder = new StringBuilder ( ) ; auditFileNameBuilder . append ( "P=" ) . append ( auditMetadata . getPhase ( ) ) . append ( FILE_NAME_DELIMITTER ) . append ( "C=" ) . append ( auditMetadata . getCluster ( ) ) . append ( FILE_NAME_DELIMITTER ) . append ( "E=" ) . append ( auditMetadata . getExtractId ( ) ) . append ( FILE_NAME_DELIMITTER ) . append ( "S=" ) . append ( auditMetadata . getSnapshotId ( ) ) . append ( FILE_NAME_DELIMITTER ) . append ( "D=" ) . append ( auditMetadata . getDeltaId ( ) ) ; return new Path ( auditDirPath , PathUtils . combinePaths ( auditMetadata . getTableMetadata ( ) . getDatabase ( ) , auditMetadata . getTableMetadata ( ) . getTable ( ) , auditFileNameBuilder . toString ( ) , auditMetadata . getPartFileName ( ) ) ) ; }
Returns the complete path of the audit file . Generate the audit file path with format