struct ZDICT_params_t {
int compressionLevel;
unsigned notificationLevel;
unsigned dictID;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | ZDICTParams.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | COMPRESSIONLEVEL
The struct member offsets. |
| public static final int | DICTID
The struct member offsets. |
| public static final int | NOTIFICATIONLEVEL
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | ZDICTParams(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static ZDICTParams | |
| public static ZDICTParams. | calloc(int
the buffer capacity capacity)Returns a new |
| public static ZDICTParams | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZDICTParams. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZDICTParams | |
| public static ZDICTParams | |
| public static ZDICTParams. | |
| public static ZDICTParams. | |
| public int | |
| public ZDICTParams | |
| protected ZDICTParams | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static ZDICTParams | |
| public static ZDICTParams | |
| public static ZDICTParams. | create(int
the buffer capacity capacity)Returns a new |
| public static ZDICTParams. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static ZDICTParams | |
| public static ZDICTParams. | |
| public int | |
| public ZDICTParams | |
| public static ZDICTParams | |
| public static ZDICTParams. | malloc(int
the buffer capacity capacity)Returns a new |
| public static ZDICTParams | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static ZDICTParams. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ZDICTParams | |
| public static ZDICTParams | |
| public static ZDICTParams. | |
| public static ZDICTParams. | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public int | notificationLevel()
write log to |
| public ZDICTParams | |
| public ZDICTParams | set(int compressionLevel, int notificationLevel, int dictID)
Initializes this struct with the specified values. |
| public ZDICTParams | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| COMPRESSIONLEVEL | back to summary |
|---|---|
| public static final int COMPRESSIONLEVEL The struct member offsets. | |
| DICTID | back to summary |
|---|---|
| public static final int DICTID The struct member offsets. | |
| NOTIFICATIONLEVEL | back to summary |
|---|---|
| public static final int NOTIFICATIONLEVEL The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| ZDICTParams | back to summary |
|---|---|
| protected ZDICTParams(long address, ByteBuffer container) | |
| ZDICTParams | back to summary |
|---|---|
| public ZDICTParams(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static ZDICTParams calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static ZDICTParams. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZDICTParams calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static ZDICTParams. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTParams callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTParams callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static ZDICTParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| compressionLevel | back to summary |
|---|---|
| public int compressionLevel() optimize for a specific zstd compression level; 0 means default | |
| compressionLevel | back to summary |
|---|---|
| public ZDICTParams compressionLevel(int value) Sets the specified value to the | |
| create | back to summary |
|---|---|
| protected ZDICTParams create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static ZDICTParams create() Returns a new | |
| create | back to summary |
|---|---|
| public static ZDICTParams create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static ZDICTParams. Returns a new
| |
| create | back to summary |
|---|---|
| public static ZDICTParams. Create a
| |
| createSafe | back to summary |
|---|---|
| public static ZDICTParams createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static ZDICTParams. Like
| |
| dictID | back to summary |
|---|---|
| public int dictID() force Note The zstd format reserves some dictionary IDs for future use. You may use them in private settings, but be warned that they may be used by zstd in a public dictionary registry in the future. These dictionary IDs are:
| |
| dictID | back to summary |
|---|---|
| public ZDICTParams dictID(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static ZDICTParams malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static ZDICTParams. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZDICTParams malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static ZDICTParams. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTParams mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTParams mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static ZDICTParams. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ncompressionLevel | back to summary |
|---|---|
| public static int ncompressionLevel(long struct) Unsafe version of | |
| ncompressionLevel | back to summary |
|---|---|
| public static void ncompressionLevel(long struct, int value) Unsafe version of | |
| ndictID | back to summary |
|---|---|
| public static int ndictID(long struct) Unsafe version of | |
| ndictID | back to summary |
|---|---|
| public static void ndictID(long struct, int value) Unsafe version of | |
| nnotificationLevel | back to summary |
|---|---|
| public static int nnotificationLevel(long struct) Unsafe version of | |
| nnotificationLevel | back to summary |
|---|---|
| public static void nnotificationLevel(long struct, int value) Unsafe version of | |
| notificationLevel | back to summary |
|---|---|
| public int notificationLevel() write log to
| |
| notificationLevel | back to summary |
|---|---|
| public ZDICTParams notificationLevel(int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public ZDICTParams set(int compressionLevel, int notificationLevel, int dictID) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public ZDICTParams set(ZDICTParams src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
ZDICTParams structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final ZDICTParams |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public ZDICTParams. | |
| public int | |
| public ZDICTParams. | |
| protected ZDICTParams | |
| public int | |
| public ZDICTParams. | |
| protected ZDICTParams. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final ZDICTParams ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| compressionLevel | back to summary |
|---|---|
public int compressionLevel()
| |
| compressionLevel | back to summary |
|---|---|
| public ZDICTParams. Sets the specified value to the | |
| dictID | back to summary |
|---|---|
public int dictID()
| |
| dictID | back to summary |
|---|---|
| public ZDICTParams. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected ZDICTParams getElementFactory() Implements abstract org.
| |
| notificationLevel | back to summary |
|---|---|
public int notificationLevel()
| |
| notificationLevel | back to summary |
|---|---|
| public ZDICTParams. Sets the specified value to the | |
| self | back to summary |
|---|---|
| protected ZDICTParams. Implements abstract org.
| |