public class CassandraAnalyticsRecordStore.CassandraTokenRangeDataIterator extends Object implements org.wso2.carbon.analytics.datasource.commons.AnalyticsIterator<org.wso2.carbon.analytics.datasource.commons.Record>
AnalyticsIterator implementation for streaming, which reads data
using the given token ranges.| Constructor and Description |
|---|
CassandraTokenRangeDataIterator(int tenantId,
String tableName,
List<String> columns,
List<CassandraTokenRange> tokenRanges,
int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
org.wso2.carbon.analytics.datasource.commons.Record |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic CassandraTokenRangeDataIterator(int tenantId,
String tableName,
List<String> columns,
List<CassandraTokenRange> tokenRanges,
int count)
public boolean hasNext()
public org.wso2.carbon.analytics.datasource.commons.Record next()
public void remove()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018 WSO2. All rights reserved.