public class TwitterFollowerListReader 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 |
---|
TwitterFollowerListReader(String consumerKey,
String consumerSecret,
String userScreenName) |
TwitterFollowerListReader(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret,
String userScreenName) |
TwitterFollowerListReader(TwitterProvider provider,
String userScreenName) |
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 TwitterFollowerListReader(TwitterProvider provider, String userScreenName)
public TwitterFollowerListReader(String consumerKey, String consumerSecret, String userScreenName)
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-2023 North Concepts Inc. All Rights Reserved.