public class TwitterListMemberReader extends TwitterPageableReader<User,<any>>
TwitterPageableReader.Direction
DataEndpoint.State
FIRST_PAGE
EOF
fieldLineage, recordLineage
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
TwitterListMemberReader(String consumerKey,
String consumerSecret,
long listId) |
TwitterListMemberReader(String consumerKey,
String consumerSecret,
String userScreenName,
String slug) |
TwitterListMemberReader(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret,
long listId) |
TwitterListMemberReader(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret,
String userScreenName,
String slug) |
TwitterListMemberReader(TwitterProvider provider,
long listId) |
TwitterListMemberReader(TwitterProvider provider,
String ownerScreenName,
String slug) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this endpoint's current state to a
DataException . |
protected void |
addPageToBuffer(<any> list,
LinkedList<User> buffer) |
protected void |
copyToRecord(User element,
Record record,
IEntityExpansionPolicy entityExpansionPolicy) |
protected <any> |
getPageImpl(long page,
int pageSize) |
getDirection, getPage, getPageSize, getStartingOffset, open, readImpl, setApiLimitPolicy, setDirection, setStartingOffset
getApiLimitPolicy, getConverter, getEntityExpansionPolicy, getProvider, getRateLimit, getRateLimit, isRateLimitExceeded, onRateLimitExceeded, reloadRateLimit, setConverter, setEntityExpansionPolicy, setRateLimit, setRateLimit, setRateLimitExceeded
addLineage, available, getBufferSize, getNestedEndpoint, getNestedReader, getRootEndpoint, getRootReader, isExhausted, isLineageSupported, isSaveLineage, peek, pop, push, read, setSaveLineage, skip
close, decrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCount, toString
addElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescription
public TwitterListMemberReader(TwitterProvider provider, String ownerScreenName, String slug)
public TwitterListMemberReader(String consumerKey, String consumerSecret, String userScreenName, String slug)
public TwitterListMemberReader(String consumerKey, String consumerSecret, String accessToken, String accessTokenSecret, String userScreenName, String slug)
public TwitterListMemberReader(TwitterProvider provider, long listId)
public TwitterListMemberReader(String consumerKey, String consumerSecret, long listId)
protected <any> getPageImpl(long page, int pageSize) throws Throwable
getPageImpl
in class TwitterPageableReader<User,<any>>
Throwable
protected void addPageToBuffer(<any> list, LinkedList<User> buffer) throws Throwable
addPageToBuffer
in class TwitterPageableReader<User,<any>>
Throwable
protected void copyToRecord(User element, Record record, IEntityExpansionPolicy entityExpansionPolicy) throws Throwable
copyToRecord
in class TwitterPageableReader<User,<any>>
Throwable
public DataException addExceptionProperties(DataException exception)
Endpoint
DataException
. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties
in class TwitterPageableReader<User,<any>>
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.