| Package | Description |
|---|---|
| org.apache.datasketches.theta |
The theta package contains all the sketch classes that are members of the
Theta Sketch Framework.
|
| Modifier and Type | Method and Description |
|---|---|
static SingleItemSketch |
SingleItemSketch.create(byte[] data)
Create this sketch with the given byte array.
|
static SingleItemSketch |
SingleItemSketch.create(byte[] data,
long seed)
Create this sketch with the given byte array and a seed.
|
static SingleItemSketch |
SingleItemSketch.create(char[] data)
Create this sketch with the given char array.
|
static SingleItemSketch |
SingleItemSketch.create(char[] data,
long seed)
Create this sketch with the given char array and a seed.
|
static SingleItemSketch |
SingleItemSketch.create(double datum)
Create this sketch with the given double (or float) datum.
|
static SingleItemSketch |
SingleItemSketch.create(double datum,
long seed)
Create this sketch with the given double (or float) datum and a seed.
|
static SingleItemSketch |
SingleItemSketch.create(int[] data)
Create this sketch with the given integer array.
|
static SingleItemSketch |
SingleItemSketch.create(int[] data,
long seed)
Create this sketch with the given integer array and a seed.
|
static SingleItemSketch |
SingleItemSketch.create(long datum)
Create this sketch with a long.
|
static SingleItemSketch |
SingleItemSketch.create(long[] data)
Create this sketch with the given long array.
|
static SingleItemSketch |
SingleItemSketch.create(long[] data,
long seed)
Create this sketch with the given long array and a seed.
|
static SingleItemSketch |
SingleItemSketch.create(long datum,
long seed)
Create this sketch with a long and a seed.
|
static SingleItemSketch |
SingleItemSketch.create(String datum)
Create this sketch with the given String.
|
static SingleItemSketch |
SingleItemSketch.create(String datum,
long seed)
Create this sketch with the given String and a seed.
|
static SingleItemSketch |
SingleItemSketch.heapify(org.apache.datasketches.memory.Memory srcMem)
Creates a SingleItemSketch on the heap given a SingleItemSketch Memory image and assumes the
DEFAULT_UPDATE_SEED.
|
static SingleItemSketch |
SingleItemSketch.heapify(org.apache.datasketches.memory.Memory srcMem,
long seed)
Creates a SingleItemSketch on the heap given a SingleItemSketch Memory image and a seed.
|
Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.