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

public abstract Class BaseDelayedValue

extends Object
implements Value
Class Inheritance
All Implemented Interfaces
io.github.spannm.jackcess.expr.Value
Known Direct Subclasses
io.github.spannm.jackcess.impl.expr.Expressionator.DelayedValue
Imports
io.github.spannm.jackcess.expr.LocaleContext, .Value, java.math.BigDecimal, java.time.LocalDateTime

Field Summary

Modifier and TypeField and Description
private Value

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected abstract Value
eval()

public Object
get()

Implements io.github.spannm.jackcess.expr.Value.get.

Returns the raw primitive value.

public BigDecimal
getAsBigDecimal(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsBigDecimal.

Returns this primitive value converted to a BigDecimal.

public boolean
getAsBoolean(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsBoolean.

Returns this primitive value converted to a boolean.

public Value
getAsDateTimeValue(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsDateTimeValue.

Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.

public Double
getAsDouble(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsDouble.

Returns this primitive value converted (rounded) to a double.

public LocalDateTime
getAsLocalDateTime(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsLocalDateTime.

Returns this primitive value converted to a LocalDateTime.

public Integer
getAsLongInt(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsLongInt.

Returns this primitive value converted (rounded) to an int.

public String
getAsString(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsString.

Returns this primitive value converted to a String.

private Value
public Value.Type
getType()

Implements io.github.spannm.jackcess.expr.Value.getType.

Returns the type of this value.

public boolean
isNull()

Implements io.github.spannm.jackcess.expr.Value.isNull.

Returns true if this value represents a "Null" value, false otherwise.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

valback to summary
private Value val

Constructor Detail

BaseDelayedValueback to summary
protected BaseDelayedValue()

Method Detail

evalback to summary
protected abstract Value eval()
getback to summary
public Object get()

Implements io.github.spannm.jackcess.expr.Value.get.

Doc from io.github.spannm.jackcess.expr.Value.get.

Returns the raw primitive value.

Annotations
@Override
getAsBigDecimalback to summary
public BigDecimal getAsBigDecimal(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsBigDecimal.

Doc from io.github.spannm.jackcess.expr.Value.getAsBigDecimal.

Returns this primitive value converted to a BigDecimal.

Annotations
@Override
getAsBooleanback to summary
public boolean getAsBoolean(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsBoolean.

Doc from io.github.spannm.jackcess.expr.Value.getAsBoolean.

Returns this primitive value converted to a boolean.

Annotations
@Override
getAsDateTimeValueback to summary
public Value getAsDateTimeValue(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsDateTimeValue.

Doc from io.github.spannm.jackcess.expr.Value.getAsDateTimeValue.

Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.

Annotations
@Override
getAsDoubleback to summary
public Double getAsDouble(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsDouble.

Doc from io.github.spannm.jackcess.expr.Value.getAsDouble.

Returns this primitive value converted (rounded) to a double.

Annotations
@Override
getAsLocalDateTimeback to summary
public LocalDateTime getAsLocalDateTime(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsLocalDateTime.

Doc from io.github.spannm.jackcess.expr.Value.getAsLocalDateTime.

Returns this primitive value converted to a LocalDateTime.

Annotations
@Override
getAsLongIntback to summary
public Integer getAsLongInt(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsLongInt.

Doc from io.github.spannm.jackcess.expr.Value.getAsLongInt.

Returns this primitive value converted (rounded) to an int.

Annotations
@Override
getAsStringback to summary
public String getAsString(LocaleContext ctx)

Implements io.github.spannm.jackcess.expr.Value.getAsString.

Doc from io.github.spannm.jackcess.expr.Value.getAsString.

Returns this primitive value converted to a String.

Annotations
@Override
getDelegateback to summary
private Value getDelegate()
getTypeback to summary
public Value.Type getType()

Implements io.github.spannm.jackcess.expr.Value.getType.

Doc from io.github.spannm.jackcess.expr.Value.getType.

Returns the type of this value.

Annotations
@Override
isNullback to summary
public boolean isNull()

Implements io.github.spannm.jackcess.expr.Value.isNull.

Doc from io.github.spannm.jackcess.expr.Value.isNull.

Returns true if this value represents a "Null" value, false otherwise.

Annotations
@Override