@Experimental public class ArrayInfoFull extends ArrayInfo
ARINFO key FULL command.
Extends the base fields from ArrayInfo with per-slice statistics. Known fields are available via typed getters. The
raw server map is accessible via ArrayInfo.getInfo() so callers can read fields added in future server versions without
requiring a client release.
Note: The avg-dense-size, avg-dense-fill, and avg-sparse-size fields are returned as bulk strings by
Redis (not integers), so they are represented as String here.
ArrayInfo,
Redis Documentation: ARINFO| Modifier and Type | Field and Description |
|---|---|
static String |
AVG_DENSE_FILL |
static String |
AVG_DENSE_SIZE |
static String |
AVG_SPARSE_SIZE |
static String |
DENSE_SLICES |
static String |
SPARSE_SLICES |
COUNT, DIRECTORY_SIZE, LEN, NEXT_INSERT_INDEX, SLICE_SIZE, SLICES, SUPER_DIR_ENTRIES| Constructor and Description |
|---|
ArrayInfoFull(Map<String,Object> map)
Creates a new
ArrayInfoFull from the raw server response map. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAvgDenseFill() |
String |
getAvgDenseSize() |
String |
getAvgSparseSize() |
Long |
getDenseSlices() |
Long |
getSparseSlices() |
getCount, getDirectorySize, getInfo, getLen, getNextInsertIndex, getSlices, getSliceSize, getSuperDirEntriespublic static final String DENSE_SLICES
public static final String SPARSE_SLICES
public static final String AVG_DENSE_SIZE
public static final String AVG_DENSE_FILL
public static final String AVG_SPARSE_SIZE
public ArrayInfoFull(Map<String,Object> map)
ArrayInfoFull from the raw server response map.map - the raw key-value pairs from the ARINFO FULL response.public Long getDenseSlices()
null if not available.public Long getSparseSlices()
null if not available.public String getAvgDenseSize()
null if not available.public String getAvgDenseFill()
null if not available.public String getAvgSparseSize()
null if not available.Copyright © 2026 lettuce.io. All rights reserved.