Class RRow
- java.lang.Object
-
- org.apache.manifoldcf.core.database.RRow
-
- All Implemented Interfaces:
IResultRow
public class RRow extends java.lang.Object implements IResultRow
This class represents a result row.
-
-
Constructor Summary
Constructors Constructor Description RRow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
Obtain the number of columns in the row.java.util.Iterator<java.lang.String>
getColumns()
Obtain the set of columns for a row.java.lang.Object
getValue(java.lang.String columnName)
Get the row value for a column.void
put(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
rowData
protected java.util.Map<java.lang.String,java.lang.Object> rowData
-
-
Method Detail
-
put
public void put(java.lang.String name, java.lang.Object value)
-
getColumnCount
public int getColumnCount()
Obtain the number of columns in the row.- Specified by:
getColumnCount
in interfaceIResultRow
- Returns:
- the number of columns that row contains.
-
getColumns
public java.util.Iterator<java.lang.String> getColumns()
Obtain the set of columns for a row.- Specified by:
getColumns
in interfaceIResultRow
- Returns:
- an iterator that will list all the (String) column names stored in that row.
-
getValue
public java.lang.Object getValue(java.lang.String columnName)
Get the row value for a column.- Specified by:
getValue
in interfaceIResultRow
- Parameters:
columnName
- is the name of the column.- Returns:
- the value, or null if not present.
-
-