@Internal public final class FormulaSpecialCachedValue extends Object implements GenericRecord
| Modifier and Type | Field and Description |
|---|---|
static int |
BOOLEAN |
static int |
EMPTY |
static int |
ERROR_CODE |
static int |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static FormulaSpecialCachedValue |
create(long valueLongBits) |
static FormulaSpecialCachedValue |
createCachedBoolean(boolean b) |
static FormulaSpecialCachedValue |
createCachedEmptyValue() |
static FormulaSpecialCachedValue |
createCachedErrorCode(int errorCode) |
static FormulaSpecialCachedValue |
createForString() |
String |
formatDebugString() |
boolean |
getBooleanValue() |
int |
getErrorValue() |
Map<String,Supplier<?>> |
getGenericProperties() |
int |
getTypeCode() |
int |
getValueType()
Deprecated.
POI 5.0.0, will be removed in 5.0, use getValueTypeEnum until switch to enum is fully done
|
CellType |
getValueTypeEnum()
Returns the type of the cached value
|
void |
serialize(LittleEndianOutput out) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypepublic static final int STRING
public static final int BOOLEAN
public static final int ERROR_CODE
public static final int EMPTY
public int getTypeCode()
public static FormulaSpecialCachedValue create(long valueLongBits)
null if the double value encoded by valueLongBits
is a normal (non NaN) double value.public void serialize(LittleEndianOutput out)
public String formatDebugString()
public static FormulaSpecialCachedValue createCachedEmptyValue()
public static FormulaSpecialCachedValue createForString()
public static FormulaSpecialCachedValue createCachedBoolean(boolean b)
public static FormulaSpecialCachedValue createCachedErrorCode(int errorCode)
@Deprecated public int getValueType()
public CellType getValueTypeEnum()
public boolean getBooleanValue()
public int getErrorValue()
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord