@Internal public final class FormulaSpecialCachedValue extends java.lang.Object
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() |
int |
getTypeCode() |
int |
getValueType() |
void |
serialize(LittleEndianOutput out) |
java.lang.String |
toString() |
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
public int getValueType()
public boolean getBooleanValue()
public int getErrorValue()
Copyright 2020 The Apache Software Foundation or its licensors, as applicable.