public class DefaultDataTable extends org.pentaho.reporting.libraries.base.util.ObjectTable implements DataTable
| Constructor and Description |
|---|
DefaultDataTable()
Creates a new table.
|
DefaultDataTable(LValue[][] array) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
TypeValuePair |
evaluate() |
ArrayCallback |
getAsArray() |
LValue[] |
getChildValues()
Returns any dependent lvalues (parameters and operands, mostly).
|
java.lang.String |
getColumnName(int column) |
ParsePosition |
getParsePosition() |
LValue |
getValueAt(int row,
int column) |
Type |
getValueType()
Querying the value type is only valid *after* the value has been
evaluated.
|
void |
initialize(FormulaContext context) |
boolean |
isConstant()
Checks whether the LValue is constant.
|
void |
setObject(int row,
int column,
LValue object)
Sets the object for a cell in the table.
|
void |
setParsePosition(ParsePosition parsePosition) |
clear, clearRow, ensureCapacity, equals, getColumnCount, getColumnIncrement, getRowCount, getRowIncrement, hashCodegetClass, notify, notifyAll, toString, wait, wait, waitgetColumnCount, getRowCountpublic DefaultDataTable()
public DefaultDataTable(LValue[][] array)
public ParsePosition getParsePosition()
getParsePosition in interface LValuepublic void setParsePosition(ParsePosition parsePosition)
public java.lang.String getColumnName(int column)
getColumnName in interface DataTablepublic void setObject(int row,
int column,
LValue object)
row - the row index (zero-based).column - the column index (zero-based).object - the object.public LValue getValueAt(int row, int column)
getValueAt in interface DataTablepublic void initialize(FormulaContext context) throws EvaluationException
initialize in interface LValueEvaluationExceptionpublic TypeValuePair evaluate() throws EvaluationException
evaluate in interface LValueEvaluationExceptionpublic ArrayCallback getAsArray()
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public Type getValueType()
getValueType in interface LValuepublic LValue[] getChildValues()
getChildValues in interface LValuepublic boolean isConstant()
isConstant in interface LValue