public interface RawDataSource extends DataSource
Modifier and Type | Method and Description |
---|---|
FormatSpecification |
getFormatString(ExpressionRuntime runtime,
ReportElement element,
FormatSpecification formatSpecification)
Returns information about the formatstring that was used to transform a raw-value into a formatted text.
|
Object |
getRawValue(ExpressionRuntime runtime,
ReportElement element)
Returns the unformated raw value.
|
clone, getValue
Object getRawValue(ExpressionRuntime runtime, ReportElement element)
Number
or Date
objects is a good idea.runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this
filter.element
- FormatSpecification getFormatString(ExpressionRuntime runtime, ReportElement element, FormatSpecification formatSpecification)
.classic.core.filter.FormatSpecification#TYPE_UNDEFINED
in that case.runtime
- the Expression runtime used to possibly compute the raw-value.element
- the element to which this datasource is added.formatSpecification
- the format specification (can be null). @return a filled format specififcation. If the
formatSpecification
parameter was not null, this given instance is reused.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.