Modifier and Type | Method and Description |
---|---|
static EvaluationException |
EvaluationException.getInstance(ErrorValue errorValue) |
Modifier and Type | Method and Description |
---|---|
void |
Formula.initialize(FormulaContext context) |
boolean |
FormulaContext.isReferenceDirty(Object name)
Checks whether the external object referenced by
name has changed. |
Object |
FormulaContext.resolveReference(Object name)
Resolves the given reference.
|
Type |
FormulaContext.resolveReferenceType(Object name)
Queries the type of the given reference.
|
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
Function.evaluate(FormulaContext context,
ParameterCallback parameters) |
Type |
ParameterCallback.getType(int position) |
Object |
ParameterCallback.getValue(int position) |
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
EndsWithFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
InFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
ContainsFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
LikeFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
EqualsFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
BeginsWithFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
XorFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
AndFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
FalseFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
NotFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
TrueFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
IfFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
IfNaFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
TypeValuePair |
OrFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
IntFunction.evaluate(FormulaContext context,
ParameterCallback parameters) |
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
PostfixTerm.evaluate() |
TypeValuePair |
Term.evaluate() |
TypeValuePair |
PrefixTerm.evaluate() |
TypeValuePair |
DefaultDataTable.evaluate() |
TypeValuePair |
ContextLookup.evaluate() |
TypeValuePair |
LValue.evaluate() |
TypeValuePair |
FormulaFunction.evaluate() |
void |
Term.initialize(FormulaContext context) |
void |
StaticValue.initialize(FormulaContext context) |
void |
AbstractLValue.initialize(FormulaContext context) |
void |
DefaultDataTable.initialize(FormulaContext context) |
void |
LValue.initialize(FormulaContext context) |
void |
FormulaFunction.initialize(FormulaContext context) |
Modifier and Type | Method and Description |
---|---|
TypeValuePair |
PrefixOperator.evaluate(FormulaContext context,
TypeValuePair value1) |
TypeValuePair |
PercentageOperator.evaluate(FormulaContext context,
TypeValuePair value1) |
TypeValuePair |
PostfixOperator.evaluate(FormulaContext context,
TypeValuePair value1) |
TypeValuePair |
PlusSignOperator.evaluate(FormulaContext context,
TypeValuePair value1) |
TypeValuePair |
MinusSignOperator.evaluate(FormulaContext context,
TypeValuePair value1) |
TypeValuePair |
AbstractNumericOperator.evaluate(FormulaContext context,
TypeValuePair value1,
TypeValuePair value2) |
TypeValuePair |
InfixOperator.evaluate(FormulaContext context,
TypeValuePair value1,
TypeValuePair value2)
Evaluates the comptuation for both parameters.
|
TypeValuePair |
AbstractCompareOperator.evaluate(FormulaContext context,
TypeValuePair value1,
TypeValuePair value2) |
TypeValuePair |
NotEqualOperator.evaluate(FormulaContext context,
TypeValuePair value1,
TypeValuePair value2) |
TypeValuePair |
ConcatOperator.evaluate(FormulaContext context,
TypeValuePair value1,
TypeValuePair value2) |
TypeValuePair |
EqualOperator.evaluate(FormulaContext context,
TypeValuePair value1,
TypeValuePair value2) |
protected abstract Number |
AbstractNumericOperator.evaluate(Number number1,
Number number2) |
Number |
DivideOperator.evaluate(Number number1,
Number number2) |
protected Number |
SubtractOperator.evaluate(Number number1,
Number number2) |
protected Number |
PowerOperator.evaluate(Number number1,
Number number2) |
protected Number |
MultiplyOperator.evaluate(Number number1,
Number number2) |
Modifier and Type | Class and Description |
---|---|
class |
TypeConversionException
Creation-Date: 10.04.2007, 14:13:40
|
Modifier and Type | Method and Description |
---|---|
int |
ExtendedComparator.compare(Type type1,
Object value1,
Type type2,
Object value2)
Returns null, if the types are not comparable and are not convertible at all.
|
TypeValuePair |
TypeRegistry.convertTo(Type targetType,
TypeValuePair valuePair)
Checks whether the target type would accept the specified value object and value type.
|
TypeValuePair |
DefaultTypeRegistry.convertTo(Type targetType,
TypeValuePair valuePair)
Checks whether the target type would accept the specified value object and value type.
This method is called for auto conversion of fonction parameters using the conversion type declared by the function metadata. |
ArrayCallback |
TypeRegistry.convertToArray(Type type,
Object value) |
ArrayCallback |
DefaultTypeRegistry.convertToArray(Type type,
Object value) |
Date |
TypeRegistry.convertToDate(Type type1,
Object value)
Converts the object of the given type into a date.
|
Date |
DefaultTypeRegistry.convertToDate(Type type1,
Object value) |
Boolean |
TypeRegistry.convertToLogical(Type type1,
Object value)
Converts the object of the given type into a boolean.
|
Number |
TypeRegistry.convertToNumber(Type type1,
Object value)
Converts the object of the given type into a number.
|
Number |
DefaultTypeRegistry.convertToNumber(Type sourceType,
Object value)
converts the object of the given type into a number.
|
NumberSequence |
TypeRegistry.convertToNumberSequence(Type type,
Object value,
boolean strictTypeChecks)
Converts the given (type,value) pair into a numeric sequence.
|
NumberSequence |
DefaultTypeRegistry.convertToNumberSequence(Type type,
Object value,
boolean strict) |
Sequence |
TypeRegistry.convertToSequence(Type type,
Object value) |
Sequence |
DefaultTypeRegistry.convertToSequence(Type type,
Object value) |
String |
TypeRegistry.convertToText(Type type1,
Object value)
(This conversion is used by the operator implementations.)
|
String |
DefaultTypeRegistry.convertToText(Type type1,
Object value) |
LValue |
ArrayCallback.getRaw(int row,
int column) |
LValue |
StaticArrayCallback.getRaw(int row,
int column) |
Type |
ArrayCallback.getType(int row,
int column) |
Type |
StaticArrayCallback.getType(int row,
int column) |
Object |
ArrayCallback.getValue(int row,
int column) |
Object |
StaticArrayCallback.getValue(int row,
int column) |
boolean |
Sequence.hasNext() |
Object |
Sequence.next() |
Number |
NumberSequence.nextNumber() |
LValue |
Sequence.nextRawValue() |
static Object[] |
TypeUtil.normalize(ArrayCallback sequence) |
static Object[] |
TypeUtil.normalize(Sequence sequence) |
Constructor and Description |
---|
StaticArrayCallback(ArrayCallback source) |
Modifier and Type | Method and Description |
---|---|
boolean |
RecursiveSequence.hasNext() |
boolean |
RawArraySequence.hasNext() |
boolean |
AnySequence.hasNext() |
protected boolean |
DefaultNumberSequence.isValidNext(LValue o) |
protected boolean |
AnyNumberSequence.isValidNext(LValue o) |
protected boolean |
AnySequence.isValidNext(LValue o) |
Object |
RecursiveSequence.next() |
Object |
RawArraySequence.next() |
Object |
AnySequence.next() |
Number |
DefaultNumberSequence.nextNumber() |
Number |
AnyNumberSequence.nextNumber() |
LValue |
RecursiveSequence.nextRawValue() |
LValue |
RawArraySequence.nextRawValue() |
LValue |
AnySequence.nextRawValue() |
Modifier and Type | Method and Description |
---|---|
static BigDecimal |
NumberUtil.divide(BigDecimal bd1,
BigDecimal bd2) |
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.