public class TwitterUnfollowWriter extends TwitterWriter
DataEndpoint.State
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 |
---|
TwitterUnfollowWriter(String consumerKey,
String consumerSecret,
String screenNameField) |
TwitterUnfollowWriter(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret,
String userScreenNameField) |
TwitterUnfollowWriter(TwitterProvider provider,
String userScreenNameField) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this endpoint's current state to a
DataException . |
String |
getUserScreenNameField() |
boolean |
isAddUserToRecord() |
boolean |
isMuteUser() |
TwitterUnfollowWriter |
setAddUserToRecord(boolean addUserToRecord) |
TwitterUnfollowWriter |
setMuteUser(boolean muteUser) |
protected void |
writeImpl(Record record)
Overridden by subclasses to write the specified record to this
DataWriter . |
getApiLimitPolicy, getConverter, getEntityExpansionPolicy, getProvider, setApiLimitPolicy, setConverter, setEntityExpansionPolicy
open
available, getNestedEndpoint, getNestedWriter, getRootEndpoint, getRootWriter, write
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 TwitterUnfollowWriter(TwitterProvider provider, String userScreenNameField)
public TwitterUnfollowWriter(String consumerKey, String consumerSecret, String screenNameField)
public String getUserScreenNameField()
public boolean isAddUserToRecord()
public TwitterUnfollowWriter setAddUserToRecord(boolean addUserToRecord)
public boolean isMuteUser()
public TwitterUnfollowWriter setMuteUser(boolean muteUser)
protected void writeImpl(Record record) throws Throwable
DataWriter
DataWriter
.writeImpl
in class DataWriter
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 TwitterWriter
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.