public Text evaluate(BytesWritable input) {
    if (input==null) { 
	LOG.debug("Input is null");
	return null;
    }
    String paymentDestination = BitcoinScriptPatternParser.getPaymentDestination(input.copyBytes());
    if (paymentDestination==null) {
	 LOG.debug("Payment destination is null");
	 return null;
    }
    return new Text(paymentDestination);
  }
public Text evaluate ( BytesWritable input ) { if ( input == null ) { LOG . debug ( "Input is null" ) ; return null ; } String paymentDestination = BitcoinScriptPatternParser . getPaymentDestination ( input . copyBytes ( ) ) ; if ( paymentDestination == null ) { LOG . debug ( "Payment destination is null" ) ; return null ; } return new Text ( paymentDestination ) ; }
* Analyzes txOutScript (ScriptPubKey) of an output of a Bitcoin Transaction to determine the payment destination

@param input BytesWritable containing a txOutScript of a Bitcoin Transaction

@return Text containing the type of the output of the transaction, cf. BitcoinScriptPatternParser of the hadoopcryptoledger inputformat