Class SketchToStringUDF


  • public class SketchToStringUDF
    extends org.apache.hadoop.hive.ql.exec.UDF
    • Constructor Detail

      • SketchToStringUDF

        public SketchToStringUDF()
    • Method Detail

      • evaluate

        public String evaluate​(org.apache.hadoop.io.BytesWritable serializedSketch,
                               long seed)
        Get a summary of a given CpcSketch with explicit seed
        Parameters:
        serializedSketch - CpcSketch in a serialized binary form
        seed - update seed
        Returns:
        text summary
      • evaluate

        public String evaluate​(org.apache.hadoop.io.BytesWritable serializedSketch)
        Get a summary of a given CpcSketch using the default seed
        Parameters:
        serializedSketch - CpcSketch in a serialized binary form
        Returns:
        text summary