HyperLogLogPlusIsLessThan

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

Available since Gaffer version 1.0.0

Tests a HyperLogLogPlus cardinality is less than a provided value

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( 
  value=2, 
  or_equal_to=False 
)

Input type:

com.clearspring.analytics.stream.cardinality.HyperLogLogPlus

Example inputs:

Input TypeInputResult
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@1d2f5762true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@55dcd0e5false
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@5d671af1false

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( 
  value=2, 
  or_equal_to=True 
)

Input type:

com.clearspring.analytics.stream.cardinality.HyperLogLogPlus

Example inputs:

Input TypeInputResult
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@1d2f5762true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@55dcd0e5true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@5d671af1false

results matching ""

    No results matching ""