HyperLogLogPlusIsLessThan

See javadoc - uk.gov.gchq.gaffer.sketches.clearspring.cardinality.predicate.HyperLogLogPlusIsLessThan

Available since Gaffer version 1.0.0

Examples

Hyper log log plus is less than 2

Java
JSON
Full JSON
Python
final HyperLogLogPlusIsLessThan function = new HyperLogLogPlusIsLessThan(2);
{
  "class" : "HyperLogLogPlusIsLessThan",
  "orEqualTo" : false,
  "value" : 2
}
{
  "class" : "uk.gov.gchq.gaffer.sketches.clearspring.cardinality.predicate.HyperLogLogPlusIsLessThan",
  "orEqualTo" : false,
  "value" : 2
}
g.HyperLogLogPlusIsLessThan( 
  or_equal_to=False, 
  value=2 
)

Input type:

com.clearspring.analytics.stream.cardinality.HyperLogLogPlus

Example inputs:

Input TypeInputResult
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@7b81c7c1true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@77b37ad5false
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@3817763dfalse

Hyper log log plus is less than or equal to 2

Java
JSON
Full JSON
Python
final HyperLogLogPlusIsLessThan function = new HyperLogLogPlusIsLessThan(2, true);
{
  "class" : "HyperLogLogPlusIsLessThan",
  "orEqualTo" : true,
  "value" : 2
}
{
  "class" : "uk.gov.gchq.gaffer.sketches.clearspring.cardinality.predicate.HyperLogLogPlusIsLessThan",
  "orEqualTo" : true,
  "value" : 2
}
g.HyperLogLogPlusIsLessThan( 
  or_equal_to=True, 
  value=2 
)

Input type:

com.clearspring.analytics.stream.cardinality.HyperLogLogPlus

Example inputs:

Input TypeInputResult
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@7b81c7c1true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@77b37ad5true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@3817763dfalse

results matching ""

    No results matching ""