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 |
Intersection.intersect(Sketch<S> tupleSketch)
Performs a stateful intersection of the internal set with the given tupleSketch.
|
CompactSketch<S> |
Intersection.intersect(Sketch<S> tupleSketchA,
Sketch<S> tupleSketchB)
Perform a stateless intersect set operation on the two given tuple sketches and returns the
result as an unordered CompactSketch on the heap.
|
CompactSketch<S> |
Intersection.intersect(Sketch<S> tupleSketchA,
Sketch<S> tupleSketchB)
Perform a stateless intersect set operation on the two given tuple sketches and returns the
result as an unordered CompactSketch on the heap.
|
CompactSketch<S> |
Intersection.intersect(Sketch<S> tupleSketch,
Sketch thetaSketch,
S summary)
Perform a stateless intersect set operation on a tuple sketch and a theta sketch and returns the
result as an unordered CompactSketch on the heap.
|
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 |
Union.union(Sketch<S> tupleSketch)
Performs a stateful union of the internal set with the given tupleSketch.
|
CompactSketch<S> |
Union.union(Sketch<S> tupleSketchA,
Sketch<S> tupleSketchB)
Perform a stateless, pair-wise union operation between two tuple sketches.
|
CompactSketch<S> |
Union.union(Sketch<S> tupleSketchA,
Sketch<S> tupleSketchB)
Perform a stateless, pair-wise union operation between two tuple sketches.
|
CompactSketch<S> |
Union.union(Sketch<S> tupleSketch,
Sketch thetaSketch,
S summary)
Perform a stateless, pair-wise union operation between a tupleSketch and a thetaSketch.
|
void |
Intersection.update(Sketch<S> tupleSketch)
Deprecated.
2.0.0. Please use
Intersection.intersect(Sketch) . |
void |
Union.update(Sketch<S> tupleSketch)
Deprecated.
2.0.0. Please use
Union.union(org.apache.datasketches.tuple.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.