public class Batch extends Object implements Iterable<IndexEntry>
| Constructor and Description |
|---|
Batch() |
| Modifier and Type | Method and Description |
|---|---|
Batch |
add(IndexEntry indexEntry) |
org.joda.time.DateTime |
getEndTime() |
List<IndexEntry> |
getIndexEntries() |
com.google.common.util.concurrent.ListenableFuture<List<com.datastax.driver.core.ResultSet>> |
getQueriesFuture() |
org.joda.time.DateTime |
getStartTime() |
Iterator<IndexEntry> |
iterator() |
Batch |
setEndTime(org.joda.time.DateTime endTime) |
Batch |
setQueriesFuture(com.google.common.util.concurrent.ListenableFuture<List<com.datastax.driver.core.ResultSet>> queriesFuture) |
Batch |
setStartTime(long timestamp) |
int |
size() |
String |
toString() |
public org.joda.time.DateTime getStartTime()
public Batch setStartTime(long timestamp)
public org.joda.time.DateTime getEndTime()
public Batch setEndTime(org.joda.time.DateTime endTime)
public List<IndexEntry> getIndexEntries()
public Batch add(IndexEntry indexEntry)
public int size()
public com.google.common.util.concurrent.ListenableFuture<List<com.datastax.driver.core.ResultSet>> getQueriesFuture()
public Batch setQueriesFuture(com.google.common.util.concurrent.ListenableFuture<List<com.datastax.driver.core.ResultSet>> queriesFuture)
public Iterator<IndexEntry> iterator()
iterator in interface Iterable<IndexEntry>Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.