Class Md5Function

  • All Implemented Interfaces:
    java.lang.Iterable<GroupingExpression>

    public class Md5Function
    extends FunctionNode
    This class represents an md5-function in a GroupingExpression. It evaluates to a long that equals the md5 of the result of the argument.
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • Md5Function

        public Md5Function​(GroupingExpression exp,
                           int numBits)
        Constructs a new instance of this class.
        Parameters:
        exp - The expression to evaluate.
        numBits - The number of bits of the md5 to include.
    • Method Detail

      • getNumBits

        public int getNumBits()
        Returns the number of bits of the md5 to include in the evaluated result.
        Returns:
        The bit count.