public abstract class TwitterWriter extends IntegrationWriter
DataEndpoint.State
Modifier and Type | Field and Description |
---|---|
protected static Record |
EOF |
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
TwitterWriter(String consumerKey,
String consumerSecret) |
TwitterWriter(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret) |
TwitterWriter(TwitterProvider provider) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this endpoint's current state to a
DataException . |
IApiLimitPolicy |
getApiLimitPolicy() |
ITwitterConverter |
getConverter() |
IEntityExpansionPolicy |
getEntityExpansionPolicy() |
TwitterProvider |
getProvider() |
TwitterWriter |
setApiLimitPolicy(IApiLimitPolicy apiLimitPolicy) |
TwitterWriter |
setConverter(ITwitterConverter converter) |
TwitterWriter |
setEntityExpansionPolicy(IEntityExpansionPolicy entityExpansionPolicy) |
open
available, getNestedEndpoint, getNestedWriter, getRootEndpoint, getRootWriter, write, writeImpl
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
protected static final Record EOF
public TwitterWriter(TwitterProvider provider)
public TwitterProvider getProvider()
public IApiLimitPolicy getApiLimitPolicy()
public TwitterWriter setApiLimitPolicy(IApiLimitPolicy apiLimitPolicy)
public ITwitterConverter getConverter()
public TwitterWriter setConverter(ITwitterConverter converter)
public IEntityExpansionPolicy getEntityExpansionPolicy()
public TwitterWriter setEntityExpansionPolicy(IEntityExpansionPolicy entityExpansionPolicy)
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 DataWriter
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.