@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
(已弃用。 POI 5.0.0,将在 5.0 中删除,使用 getValueTypeEnum 直到切换到枚举完全完成)
|
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.
(如果 valueLongBits 编码的双精度值是正常(非 NaN)双精度值,则为 null。)
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
(接口 GenericRecord 中的 getGenericProperties)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.