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

public abstract Class BaseValue

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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.

protected EvalException
public boolean
isNull()

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

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

protected Integer
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Constructor Detail

BaseValueback to summary
public BaseValue()

Method Detail

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
invalidConversionback to summary
protected EvalException invalidConversion(Value.Type newType)
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
roundToLongIntback to summary
protected Integer roundToLongInt(LocaleContext ctx)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override