Package org.openrefine.expr
Class WrappedRow
- java.lang.Object
-
- org.openrefine.expr.WrappedRow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classWrappedRow.RecordCellsprotected classWrappedRow.WrappedRecord
-
Field Summary
Fields Modifier and Type Field Description ColumnModelcolumnModelRecordrecordRowrowlongrowIndex
-
Constructor Summary
Constructors Constructor Description WrappedRow(ColumnModel columnModel, long rowIndex, Row row)Constructor to be used when the wrapped row is used in rows mode, where no record is available.WrappedRow(ColumnModel columnModel, long rowIndex, Row row, Record record)Constructor to be used when the wrapped row is used in records mode, when the enclosing record is available.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfieldAlsoHasFields(String name)ObjectgetField(String name)
-
-
-
Field Detail
-
columnModel
public final ColumnModel columnModel
-
rowIndex
public final long rowIndex
-
row
public final Row row
-
record
public final Record record
-
-
Constructor Detail
-
WrappedRow
public WrappedRow(ColumnModel columnModel, long rowIndex, Row row)
Constructor to be used when the wrapped row is used in rows mode, where no record is available.
-
WrappedRow
public WrappedRow(ColumnModel columnModel, long rowIndex, Row row, Record record)
Constructor to be used when the wrapped row is used in records mode, when the enclosing record is available.- Parameters:
record- the record the row is part of
-
-