public class JdbcResultRow extends DataSourceResultRow
Constructor and Description |
---|
JdbcResultRow(java.util.Map<java.lang.String,java.lang.Object> rowMap,
java.lang.String[] fieldNames,
java.lang.String query) |
Modifier and Type | Method and Description |
---|---|
FieldResult |
getFieldEx(int i,
int mode,
java.lang.String tagType)
Get a field from this row.
|
FieldResult |
getFieldEx(java.lang.String fieldName,
int mode,
java.lang.String tagType)
Get a field from this row.
|
java.lang.String |
getFieldName(int index)
Get the name of the field at the provided index
|
java.lang.String[] |
getFieldNames()
Get the names of every field in this row (i.e.
|
java.lang.String |
getQuery() |
java.lang.String |
getUniquePath() |
java.lang.Object |
getValue(int mode,
java.lang.String tagType)
Get the value in this result row.
|
public JdbcResultRow(java.util.Map<java.lang.String,java.lang.Object> rowMap, java.lang.String[] fieldNames, java.lang.String query)
public java.lang.String[] getFieldNames()
IDataSourceResultRow
public FieldResult getFieldEx(java.lang.String fieldName, int mode, java.lang.String tagType) throws DataSourceException
IDataSourceResultRow
fieldName
- The name of the field desired.mode
- One of the BaseTag.MODE_* values.tagType
- The type= value from the tag (BaseTag.TYPE_*, etc.) from the tag calling this. Can be null or the empty string.DataSourceException
public FieldResult getFieldEx(int i, int mode, java.lang.String tagType) throws DataSourceException
IDataSourceResultRow
i
- the 0-based index of the field requested.mode
- One of the BaseTag.MODE_* values.tagType
- The type= value from the tag (BaseTag.TYPE_*, etc.) from the tag calling this. Can be null or the empty string.DataSourceException
public java.lang.Object getValue(int mode, java.lang.String tagType) throws DataSourceException
mode
- One of the BaseTag.MODE_ values.tagType
- the type= for the tag.DataSourceException
public java.lang.String getQuery()
public java.lang.String getUniquePath()
public java.lang.String getFieldName(int index)
getFieldName
in interface IDataSourceResultRow
getFieldName
in class DataSourceResultRow
index
- Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software