public class TwitterFollowingIDsReader extends TwitterPageableReader<Long,IDs>
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 |
---|
TwitterFollowingIDsReader(String consumerKey,
String consumerSecret,
String userScreenName) |
TwitterFollowingIDsReader(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret,
String userScreenName) |
TwitterFollowingIDsReader(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(IDs list,
LinkedList<Long> buffer) |
protected void |
copyToRecord(Long id,
Record record,
IEntityExpansionPolicy entityExpansionPolicy) |
protected IDs |
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 TwitterFollowingIDsReader(TwitterProvider provider, String userScreenName)
public TwitterFollowingIDsReader(String consumerKey, String consumerSecret, String userScreenName)
protected IDs getPageImpl(long page, int pageSize) throws Throwable
getPageImpl
in class TwitterPageableReader<Long,IDs>
Throwable
protected void addPageToBuffer(IDs list, LinkedList<Long> buffer) throws Throwable
addPageToBuffer
in class TwitterPageableReader<Long,IDs>
Throwable
protected void copyToRecord(Long id, Record record, IEntityExpansionPolicy entityExpansionPolicy) throws Throwable
copyToRecord
in class TwitterPageableReader<Long,IDs>
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<Long,IDs>
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.