private HashCode getColumnHash ( Record record , int op ) throws OnRecordErrorException { Map < String , String > parameters = getColumnsToParameters ( ) ; SortedMap < String , String > columnsToParameters = recordReader . getColumnsToParameters ( record , op , parameters , getColumnsToFields ( ) ) ; return columnHashFunction . newHasher ( ) . putObject ( columnsToParameters , stringMapFunnel ) . hash ( ) ; }
Generates a hash for the fields present in a record and their mappings . A specific implementation of the hash function is not guaranteed .