Package | Description |
---|---|
org.apache.datasketches.fdt | |
org.apache.datasketches.tuple |
The tuple package contains implementation of sketches based on the idea of
theta sketches with the addition of values associated with unique keys.
|
org.apache.datasketches.tuple.adouble | |
org.apache.datasketches.tuple.aninteger | |
org.apache.datasketches.tuple.strings |
Modifier and Type | Class and Description |
---|---|
class |
FdtSketch
A Frequent Distinct Tuples sketch.
|
Modifier and Type | Class and Description |
---|---|
class |
CompactSketch<S extends Summary>
CompactSketches are never created directly.
|
class |
UpdatableSketch<U,S extends UpdatableSummary<U>>
An extension of QuickSelectSketch<S>, which can be updated with many types of keys.
|
Modifier and Type | Method and Description |
---|---|
static <S extends Summary> |
Sketches.createEmptySketch() |
static <S extends Summary> |
Sketches.heapifySketch(org.apache.datasketches.memory.Memory mem,
SummaryDeserializer<S> deserializer)
Instantiate Sketch from a given Memory
|
Modifier and Type | Method and Description |
---|---|
static <S extends Summary> |
AnotB.aNotB(Sketch<S> skA,
Sketch skB)
Returns the A-and-not-B set operation on a Tuple sketch and a Theta sketch.
|
static <S extends Summary> |
AnotB.aNotB(Sketch<S> skA,
Sketch<S> skB)
Returns the A-and-not-B set operation on the two given Tuple sketches.
|
static <S extends Summary> |
AnotB.aNotB(Sketch<S> skA,
Sketch<S> skB)
Returns the A-and-not-B set operation on the two given Tuple sketches.
|
CompactSketch<T> |
Filter.filter(Sketch<T> sketchIn)
Filters elements on the provided
Sketch |
void |
AnotB.notB(Sketch<S> skB)
This is part of a multistep, stateful AnotB operation and sets the given Tuple sketch as the
second (or n+1th) argument B of A-AND-NOT-B.
|
void |
AnotB.setA(Sketch<S> skA)
This is part of a multistep, stateful AnotB operation and sets the given Tuple sketch as the
first argument A of A-AND-NOT-B.
|
void |
Intersection.update(Sketch<S> sketchIn)
Updates the internal state by intersecting it with the given sketch.
|
void |
Union.update(Sketch<S> sketchIn)
Updates the internal set by adding entries from the given sketch
|
void |
AnotB.update(Sketch<S> skA,
Sketch<S> skB)
Deprecated.
v2.0.0. Instead please use
AnotB.aNotB(Sketch, Sketch) . |
void |
AnotB.update(Sketch<S> skA,
Sketch<S> skB)
Deprecated.
v2.0.0. Instead please use
AnotB.aNotB(Sketch, Sketch) . |
Modifier and Type | Class and Description |
---|---|
class |
DoubleSketch |
Modifier and Type | Class and Description |
---|---|
class |
IntegerSketch |
Modifier and Type | Class and Description |
---|---|
class |
ArrayOfStringsSketch |
Copyright © 2015–2021 The Apache Software Foundation. All rights reserved.