public class MetricsIndexEntryMapper extends Object implements ResultSetMapper<MetricsIndexEntry>
Constructor and Description |
---|
MetricsIndexEntryMapper(MetricsTable bucket) |
Modifier and Type | Method and Description |
---|---|
List<MetricsIndexEntry> |
map(com.datastax.driver.core.Row... row)
Map all the rows passed to domain objects.
|
MetricsIndexEntry |
map(com.datastax.driver.core.Row row)
Map a sigle row to a domain object.
|
List<MetricsIndexEntry> |
mapAll(com.datastax.driver.core.ResultSet resultSet)
Maps the entire result set to a list.
|
MetricsIndexEntry |
mapOne(com.datastax.driver.core.ResultSet resultSet)
Return only one mapped domain object.
|
public MetricsIndexEntryMapper(MetricsTable bucket)
public List<MetricsIndexEntry> mapAll(com.datastax.driver.core.ResultSet resultSet)
ResultSetMapper
mapAll
in interface ResultSetMapper<MetricsIndexEntry>
resultSet
- result set to mappublic MetricsIndexEntry mapOne(com.datastax.driver.core.ResultSet resultSet)
ResultSetMapper
mapOne
in interface ResultSetMapper<MetricsIndexEntry>
resultSet
- result set to mappublic List<MetricsIndexEntry> map(com.datastax.driver.core.Row... row)
ResultSetMapper
map
in interface ResultSetMapper<MetricsIndexEntry>
public MetricsIndexEntry map(com.datastax.driver.core.Row row)
ResultSetMapper
map
in interface ResultSetMapper<MetricsIndexEntry>
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.