public class Sum extends MArithmeticAccessor
MArithmeticAccessor.InternalIterator
IReadAccessor.Standalone
Constructor and Description |
---|
Sum() |
Sum(IReadAccessor... sources) |
Sum(IReadAccessor source) |
Sum(List<IReadAccessor> sources) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
evaluate(IExecutionContext ctxt,
MArithmeticAccessor.InternalIterator values)
Performs the arithmetic operation.
|
String |
getImplementationId()
Unique addon implementation ID.
|
clone, compileCollection, compileValue, equals, format, getCondition, getDecimals, getEstimatedReadCost, getGenericCollectionType, getInternalExpectedType, getMaxDecimals, getProperty, getSource, getType, getValues, hashCode, internalGet, isCacheUsed, isShouldIterate, setCondition, setDecimals, setProperty, setSource, setValues, shouldFormatResult, toString
castToExpected, compileRead, compileRead, compileRead, compileRead, get, getGenericTypes, isConstantValue, isShouldBeWrappedToConstantValue, isShouldNotCache
getInternalCacheIdentifier, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getInternalCacheIdentifier, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String SUM_ID
public Sum()
public Sum(IReadAccessor source)
public Sum(List<IReadAccessor> sources)
public Sum(IReadAccessor... sources)
public BigDecimal evaluate(IExecutionContext ctxt, MArithmeticAccessor.InternalIterator values) throws MAccessorException
MArithmeticAccessor
evaluate
in class MArithmeticAccessor
MAccessorException