APIdia Launch Partner
Top Fields Constructors Methods
io.github.spannm.jackcess.impl.expr

public final Class ValueSupport

extends Object
Class Inheritance
Imports
io.github.spannm.jackcess.expr.EvalException, .LocaleContext, .Value, io.github.spannm.jackcess.impl.ColumnImpl, java.math.BigDecimal, .BigInteger, java.time.LocalDate, .LocalDateTime, .LocalTime, java.time.format.DateTimeFormatter, java.util.regex.Pattern

Field Summary

Modifier and TypeField and Description
pack-priv static final char
public static final Value
public static final Value
pack-priv static final Pattern
public static final Value
public static final Value
pack-priv static final char
pack-priv static final Pattern
pack-priv static final Pattern
public static final Value
public static final Value
pack-priv static final Pattern
public static final Value
public static final Value

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DateTimeFormatter
public static Value.Type
pack-priv static BigDecimal
normalize(BigDecimal bd)

Converts the given BigDecimal to the minimal scale >= 0;

pack-priv static BigInteger
parseIntegerString(String val, int radix)

pack-priv static Value
toDateValueIfPossible(Value.Type dateType, double dd)

public static Value
toValue(boolean b)

public static Value
public static Value
toValue(int i)

public static Value
public static Value
toValue(float f)

public static Value
toValue(double s)

public static Value
public static Value
public static Value
public static Value
public static Value
public static Value
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CANON_DEC_SEPback to summary
pack-priv static final char CANON_DEC_SEP
EMPTY_STR_VALback to summary
public static final Value EMPTY_STR_VAL
FALSE_VALback to summary
public static final Value FALSE_VAL
HEX_PATback to summary
pack-priv static final Pattern HEX_PAT
NEG_ONE_VALback to summary
public static final Value NEG_ONE_VAL
NULL_VALback to summary
public static final Value NULL_VAL
NUMBER_BASE_PREFIXback to summary
pack-priv static final char NUMBER_BASE_PREFIX
NUMBER_PATback to summary
pack-priv static final Pattern NUMBER_PAT
OCTAL_PATback to summary
pack-priv static final Pattern OCTAL_PAT
ONE_VALback to summary
public static final Value ONE_VAL
TRUE_VALback to summary
public static final Value TRUE_VAL
WHITESPACE_PATback to summary
pack-priv static final Pattern WHITESPACE_PAT
ZERO_D_VALback to summary
public static final Value ZERO_D_VAL
ZERO_VALback to summary
public static final Value ZERO_VAL

Constructor Detail

ValueSupportback to summary
private ValueSupport()

Method Detail

getDateFormatForTypeback to summary
public static DateTimeFormatter getDateFormatForType(LocaleContext ctx, Value.Type type)
getDateTimeTypeback to summary
public static Value.Type getDateTimeType(LocalDateTime ldt)
normalizeback to summary
pack-priv static BigDecimal normalize(BigDecimal bd)

Converts the given BigDecimal to the minimal scale >= 0;

parseIntegerStringback to summary
pack-priv static BigInteger parseIntegerString(String val, int radix)
toDateValueIfPossibleback to summary
pack-priv static Value toDateValueIfPossible(Value.Type dateType, double dd)
toValueback to summary
public static Value toValue(boolean b)
toValueback to summary
public static Value toValue(String s)
toValueback to summary
public static Value toValue(int i)
toValueback to summary
public static Value toValue(Integer i)
toValueback to summary
public static Value toValue(float f)
toValueback to summary
public static Value toValue(double s)
toValueback to summary
public static Value toValue(Double s)
toValueback to summary
public static Value toValue(BigDecimal s)
toValueback to summary
public static Value toValue(LocalDate ld)
toValueback to summary
public static Value toValue(LocalTime lt)
toValueback to summary
public static Value toValue(LocalDateTime ldt)
toValueback to summary
public static Value toValue(Value.Type type, LocalDateTime ldt)