@Internal public final class FormulaSpecialCachedValue extends java.lang.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() |
java.lang.String |
formatDebugString() |
boolean |
getBooleanValue() |
int |
getErrorValue() |
java.util.Map<java.lang.String,java.util.function.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) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren, getGenericRecordType
public 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 java.lang.String formatDebugString()
public static FormulaSpecialCachedValue createCachedEmptyValue()
public static FormulaSpecialCachedValue createForString()
public static FormulaSpecialCachedValue createCachedBoolean(boolean b)
public static FormulaSpecialCachedValue createCachedErrorCode(int errorCode)
public java.lang.String toString()
toString
in class java.lang.Object
@Deprecated public int getValueType()
public CellType getValueTypeEnum()
public boolean getBooleanValue()
public int getErrorValue()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties
in interface GenericRecord
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.