public class CMSketch extends Object
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
int |
getDepth() |
long[][] |
getTable() |
int |
getWidth() |
static CMSketch |
newCMSketch(int d,
int w) |
long |
queryBytes(byte[] bytes) |
void |
setCount(long count) |
void |
setDepth(int depth) |
void |
setTable(long[][] table) |
void |
setWidth(int width) |
public static CMSketch newCMSketch(int d, int w)
public int getDepth()
public void setDepth(int depth)
public int getWidth()
public void setWidth(int width)
public long getCount()
public void setCount(long count)
public long[][] getTable()
public void setTable(long[][] table)
public long queryBytes(byte[] bytes)
Copyright © 2024 PingCAP. All rights reserved.