org.d2rq.db
Class ResultRow
java.lang.Object
org.d2rq.db.ResultRow
public class ResultRow
- extends Object
A result row returned by a database query, presented as a
map from SELECT clause entries to string values.
- Author:
- Richard Cyganiak (richard@cyganiak.de)
NO_ATTRIBUTES
public static final ResultRow NO_ATTRIBUTES
ResultRow
public ResultRow(Map<ProjectionSpec,String> projectionsToValues)
createOne
public static ResultRow createOne(ProjectionSpec column,
String value)
fromResultSet
public static ResultRow fromResultSet(ResultSet resultSet,
List<ProjectionSpec> projectionSpecs,
SQLConnection database)
throws SQLException
- Throws:
SQLException
get
public String get(ProjectionSpec projection)
toString
public String toString()
- Overrides:
toString
in class Object