Modifier and Type | Field and Description |
---|---|
static int |
LZ4_COMPRESSION |
static int |
NO_COMPRESSION |
static int |
ZSTD_COMPRESSION |
Constructor and Description |
---|
BitShuffleFilter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] encodedData,
int[] filterData)
Applies this filter to decode data.
|
int |
getId()
Gets the ID of this filter, this must match the ID in the dataset header.
|
java.lang.String |
getName()
Gets the name of this filter e.g.
|
protected void |
unshuffle(byte[] shuffledBuffer,
int elementSize,
byte[] unshuffledBuffer) |
protected void |
unshuffle(byte[] shuffledBuffer,
int shuffledLength,
byte[] unshuffledBuffer,
int unshuffledOffset,
int elementSize) |
public static final int NO_COMPRESSION
public static final int LZ4_COMPRESSION
public static final int ZSTD_COMPRESSION
public int getId()
Filter
public java.lang.String getName()
Filter
public byte[] decode(byte[] encodedData, int[] filterData)
Filter
HdfFilterException
will be thrown. This method must be thread safe,
multiple thread may use the filter simultaneously.protected void unshuffle(byte[] shuffledBuffer, int elementSize, byte[] unshuffledBuffer)
protected void unshuffle(byte[] shuffledBuffer, int shuffledLength, byte[] unshuffledBuffer, int unshuffledOffset, int elementSize)