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( 
  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@29ba5ffctrue
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@50258137false
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@1f192262false

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@29ba5ffctrue
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@50258137true
com.clearspring.analytics.stream.cardinality.HyperLogLogPluscom.clearspring.analytics.stream.cardinality.HyperLogLogPlus@1f192262false

results matching ""

    No results matching ""