src/main/java/it/unibo/bd1819/mapper/ActorNameJoinMapper.java
private String buildDirectorStatisticsValue(final Text directorID, final Text statisticsValue) {
        return  directorID.toString() +
                statisticsValue.toString()
                        .replace(getActorIDAsText(statisticsValue).toString(), "");
    }
/**
     * Builder for the new value of the key, switch the ActorID with the DirectorID.
     * @param directorID the directorID as text
     * @param statisticsValue the other data to be send as values
     * @return a text in the format directorID, statisticValue
     */
Builder for the new value of the key, switch the ActorID with the DirectorID.
@param directorID the directorID as text
@param statisticsValue the other data to be send as values
@return a text in the format directorID, statisticValue
Builder for the new value of the key switch the ActorID with the DirectorID . @param directorID the directorID as text @param statisticsValue the other data to be send as values @return a text in the format directorID statisticValue
private String buildDirectorStatisticsValue(final Text directorID, final Text statisticsValue) {
        return  directorID.toString() +
                statisticsValue.toString()
                        .replace(getActorIDAsText(statisticsValue).toString(), "");
    }
private String buildDirectorStatisticsValue ( final Text directorID , final Text statisticsValue ) { return directorID . toString ( ) + statisticsValue . toString ( ) . replace ( getActorIDAsText ( statisticsValue ) . toString ( ) , "" ) ; }
Builder for the new value of the key, switch the ActorID with the DirectorID.
Builder for the new value of the key switch the ActorID with the DirectorID .