Package io.deephaven.json
Class BigIntegerValue
Processes a JSON value as a
BigInteger
.-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.json.ValueSingleValueBase
ValueSingleValueBase.BuilderSpecial<T,
V extends ValueSingleValueBase<T>, B extends ValueSingleValueBase.BuilderSpecial<T, V, B>> Nested classes/interfaces inherited from class io.deephaven.json.Value
Value.Visitor<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe allowed types.static BigIntegerValue.Builder
builder()
static BigIntegerValue
lenient
(boolean allowDecimal) The lenientBigInteger
options.static BigIntegerValue
standard
(boolean allowDecimal) The standardBigInteger
options.static BigIntegerValue
strict
(boolean allowDecimal) The strictBigInteger
options.final <T> T
walk
(Value.Visitor<T> visitor) Methods inherited from class io.deephaven.json.ValueSingleValueBase
onMissing, onNull
Methods inherited from class io.deephaven.json.Value
allowMissing, array, field, skip
-
Constructor Details
-
BigIntegerValue
public BigIntegerValue()
-
-
Method Details
-
builder
-
lenient
The lenientBigInteger
options. Allows missing. IfallowDecimal
, acceptsJsonValueTypes.numberLike()
, otherwise acceptsJsonValueTypes.intLike()
.- Returns:
- the lenient BigInteger options
-
standard
The standardBigInteger
options. Allows missing. IfallowDecimal
, acceptsJsonValueTypes.numberOrNull()
, otherwise acceptsJsonValueTypes.intOrNull()
.- Returns:
- the standard BigInteger options
-
strict
The strictBigInteger
options. Allows missing. IfallowDecimal
, acceptsJsonValueTypes.number()
, otherwise acceptsJsonValueTypes.int_()
.- Returns:
- the strict BigInteger options
-
allowedTypes
The allowed types. Must be a subset ofJsonValueTypes.numberLike()
. By default isJsonValueTypes.intOrNull()
.- Specified by:
allowedTypes
in classValue
-
walk
-