Skip navigation links
B C D E F G H I M O P R S T U W Y 

B

backoffAndIdentifyIfRetry(GoogleJsonResponseException, BackOffStrategy) - Method in class org.apache.streams.youtube.provider.YoutubeDataCollector
Looks at the status code of the expception.

C

cleanUp() - Method in class org.apache.streams.youtube.processor.YoutubeTypeConverter
 
cleanUp() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
collectActivityData() - Method in class org.apache.streams.youtube.provider.YoutubeUserActivityCollector
Iterate through all users in the Youtube configuration and collect all videos associated with their accounts.
config - Variable in class org.apache.streams.youtube.provider.YoutubeProvider
 
createActorForChannel(Channel) - Static method in class org.apache.streams.youtube.serializer.YoutubeActivityUtil
createActorForChannel.
createYouTubeClient() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 

D

deserialize(JsonParser, DeserializationContext) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
deserialize(JsonParser, DeserializationContext) - Method in class org.apache.streams.youtube.serializer.YoutubeVideoDeserializer
Because the Youtube Video object contains complex objects within its hierarchy, we have to use a custom deserializer
detectClass(String) - Static method in class org.apache.streams.youtube.serializer.YoutubeEventClassifier
detect probable Class of a json String from YouTube.

E

equals(Object) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
equals(Object) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
equals(Object) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 

F

formatId(String...) - Static method in class org.apache.streams.youtube.serializer.YoutubeActivityUtil
Formats the ID to conform with the Apache Streams activity ID convention

G

getAdditionalProperties() - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
getAdditionalProperties() - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
getAdditionalProperties() - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
getAfterDate() - Method in class org.apache.streams.google.gplus.configuration.UserInfo
If the api allows to gather data by date range, this date will be used as the start of the range for the request for this user.
getApiKey() - Method in class org.apache.streams.youtube.YoutubeConfiguration
API key to allow for authenticated (but not owned) requests
getAppName() - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
getBeforeDate() - Method in class org.apache.streams.google.gplus.configuration.UserInfo
If the api allows to gather data by date range, this date will be used as the end of the range for the request for this user..
getConfig() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
getDataCollector(BackOffStrategy, BlockingQueue<StreamsDatum>, YouTube, UserInfo) - Method in class org.apache.streams.youtube.provider.YoutubeChannelProvider
 
getDataCollector(BackOffStrategy, BlockingQueue<StreamsDatum>, YouTube, UserInfo) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
getDataCollector(BackOffStrategy, BlockingQueue<StreamsDatum>, YouTube, UserInfo) - Method in class org.apache.streams.youtube.provider.YoutubeUserActivityProvider
 
getDefaultAfterDate() - Method in class org.apache.streams.youtube.YoutubeConfiguration
Optional parameter for the provider.
getDefaultBeforeDate() - Method in class org.apache.streams.youtube.YoutubeConfiguration
Optional parameter for the provider.
getEndpoint() - Method in class org.apache.streams.youtube.YoutubeConfiguration
The endpoint
getFollow() - Method in class org.apache.streams.youtube.YoutubeConfiguration
DEPRECATED.
getHost() - Method in class org.apache.streams.youtube.YoutubeConfiguration
The host
getId() - Method in class org.apache.streams.youtube.processor.YoutubeTypeConverter
 
getId() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
getOauth() - Method in class org.apache.streams.youtube.YoutubeConfiguration
DEPRICATED
getPathToP12KeyFile() - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
Absolute Path to key file
getPort() - Method in class org.apache.streams.youtube.YoutubeConfiguration
The port
getProtocol() - Method in class org.apache.streams.youtube.YoutubeConfiguration
The protocol
getProvider() - Static method in class org.apache.streams.youtube.serializer.YoutubeActivityUtil
Gets the common youtube Provider object
getServiceAccountEmailAddress() - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
Service Account email address for your app
getUserId() - Method in class org.apache.streams.google.gplus.configuration.UserInfo
Google+ user id
getVersion() - Method in class org.apache.streams.youtube.YoutubeConfiguration
The version
getYoutubeUsers() - Method in class org.apache.streams.youtube.YoutubeConfiguration
A list of user user ids and optional date parameters for the GPlus provider
GPlusOAuthConfiguration - Class in org.apache.streams.google.gplus
DEPRICATED
GPlusOAuthConfiguration() - Constructor for class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 

H

hashCode() - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
hashCode() - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
hashCode() - Method in class org.apache.streams.youtube.YoutubeConfiguration
 

I

isRunning() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 

M

main(String[]) - Static method in class org.apache.streams.youtube.provider.YoutubeChannelProvider
To use from command line:

Supply (at least) the following required configuration in application.conf:

youtube.oauth.pathToP12KeyFile youtube.oauth.serviceAccountEmailAddress youtube.apiKey youtube.youtubeUsers

Launch using:

mvn exec:java -Dexec.mainClass=org.apache.streams.youtube.provider.YoutubeUserActivityProvider -Dexec.args="application.conf tweets.json"

main(String[]) - Static method in class org.apache.streams.youtube.provider.YoutubeUserActivityProvider
To use from command line:

O

org.apache.streams.google.gplus - package org.apache.streams.google.gplus
 
org.apache.streams.google.gplus.configuration - package org.apache.streams.google.gplus.configuration
 
org.apache.streams.youtube - package org.apache.streams.youtube
 
org.apache.streams.youtube.processor - package org.apache.streams.youtube.processor
 
org.apache.streams.youtube.provider - package org.apache.streams.youtube.provider
 
org.apache.streams.youtube.serializer - package org.apache.streams.youtube.serializer
 

P

prepare(Object) - Method in class org.apache.streams.youtube.processor.YoutubeTypeConverter
 
prepare(Object) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
process(StreamsDatum) - Method in class org.apache.streams.youtube.processor.YoutubeTypeConverter
 

R

readCurrent() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
readNew(BigInteger) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
readRange(DateTime, DateTime) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
run() - Method in class org.apache.streams.youtube.provider.YoutubeChannelDataCollector
 
run() - Method in class org.apache.streams.youtube.provider.YoutubeUserActivityCollector
 

S

setAdditionalProperty(String, Object) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
setAdditionalProperty(String, Object) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
setAdditionalProperty(String, Object) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
setAfterDate(DateTime) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
If the api allows to gather data by date range, this date will be used as the start of the range for the request for this user.
setApiKey(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
API key to allow for authenticated (but not owned) requests
setAppName(String) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
setBeforeDate(DateTime) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
If the api allows to gather data by date range, this date will be used as the end of the range for the request for this user..
setChannelSnippet(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setChannelStatistics(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setConfig(YoutubeConfiguration) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
setContentDetails(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setDefaultAfterDate(DateTime) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
Set and overwrite the default after date that was read from teh configuration file.
setDefaultAfterDate(DateTime) - Method in class org.apache.streams.youtube.YoutubeConfiguration
Optional parameter for the provider.
setDefaultBeforeDate(DateTime) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
Set and overwrite the default before date that was read from the configuration file.
setDefaultBeforeDate(DateTime) - Method in class org.apache.streams.youtube.YoutubeConfiguration
Optional parameter for the provider.
setEndpoint(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
The endpoint
setFollow(List<String>) - Method in class org.apache.streams.youtube.YoutubeConfiguration
DEPRECATED.
setHost(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
The host
setLocalized(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setOauth(GPlusOAuthConfiguration) - Method in class org.apache.streams.youtube.YoutubeConfiguration
DEPRICATED
setPathToP12KeyFile(String) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
Absolute Path to key file
setPort(Long) - Method in class org.apache.streams.youtube.YoutubeConfiguration
The port
setProtocol(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
The protocol
setRelatedPlaylists(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setServiceAccountEmailAddress(String) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
Service Account email address for your app
setThumbnails(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setTopicDetails(JsonNode) - Method in class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
setUserId(String) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
Google+ user id
setUserInfoWithAfterDate(Map<String, DateTime>) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
Set and overwrite user into from teh configuration file.
setUserInfoWithDefaultDates(Set<String>) - Method in class org.apache.streams.youtube.provider.YoutubeProvider
Sets and overwrite the user info from the configuaration file.
setVersion(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
The version
setYoutubeUsers(List<UserInfo>) - Method in class org.apache.streams.youtube.YoutubeConfiguration
A list of user user ids and optional date parameters for the GPlus provider
startStream() - Method in class org.apache.streams.youtube.provider.YoutubeProvider
 
STREAMS_ID - Static variable in class org.apache.streams.youtube.processor.YoutubeTypeConverter
 

T

toString() - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
toString() - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
toString() - Method in class org.apache.streams.youtube.YoutubeConfiguration
 

U

updateActivity(Video, Activity, String) - Static method in class org.apache.streams.youtube.serializer.YoutubeActivityUtil
Given a YouTube.Videos object and an Activity object, fill out the appropriate details
updateActivity(Channel, Activity, String) - Static method in class org.apache.streams.youtube.serializer.YoutubeActivityUtil
Given a Channel object and an Activity object, fill out the appropriate details
UserInfo - Class in org.apache.streams.google.gplus.configuration
 
UserInfo() - Constructor for class org.apache.streams.google.gplus.configuration.UserInfo
 

W

withAdditionalProperty(String, Object) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
withAdditionalProperty(String, Object) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
withAdditionalProperty(String, Object) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withAfterDate(DateTime) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
withApiKey(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withAppName(String) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
withBeforeDate(DateTime) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
withDefaultAfterDate(DateTime) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withDefaultBeforeDate(DateTime) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withEndpoint(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withFollow(List<String>) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withHost(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withOauth(GPlusOAuthConfiguration) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withPathToP12KeyFile(String) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
withPort(Long) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withProtocol(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withServiceAccountEmailAddress(String) - Method in class org.apache.streams.google.gplus.GPlusOAuthConfiguration
 
withUserId(String) - Method in class org.apache.streams.google.gplus.configuration.UserInfo
 
withVersion(String) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 
withYoutubeUsers(List<UserInfo>) - Method in class org.apache.streams.youtube.YoutubeConfiguration
 

Y

youtube - Variable in class org.apache.streams.youtube.provider.YoutubeProvider
 
YoutubeActivityUtil - Class in org.apache.streams.youtube.serializer
 
YoutubeActivityUtil() - Constructor for class org.apache.streams.youtube.serializer.YoutubeActivityUtil
 
YoutubeChannelDataCollector - Class in org.apache.streams.youtube.provider
Collects YoutubeChannelData on behalf of YoutubeChannelProvider.
YoutubeChannelDataCollector(YouTube, BlockingQueue<StreamsDatum>, BackOffStrategy, UserInfo, YoutubeConfiguration) - Constructor for class org.apache.streams.youtube.provider.YoutubeChannelDataCollector
YoutubeChannelDataCollector constructor.
YoutubeChannelDeserializer - Class in org.apache.streams.youtube.serializer
YoutubeChannelDeserializer is a JsonDeserializer for Channel.
YoutubeChannelDeserializer() - Constructor for class org.apache.streams.youtube.serializer.YoutubeChannelDeserializer
 
YoutubeChannelProvider - Class in org.apache.streams.youtube.provider
Retrieve recent activity from a list of channels.
YoutubeChannelProvider() - Constructor for class org.apache.streams.youtube.provider.YoutubeChannelProvider
 
YoutubeChannelProvider(YoutubeConfiguration) - Constructor for class org.apache.streams.youtube.provider.YoutubeChannelProvider
 
YoutubeConfiguration - Class in org.apache.streams.youtube
 
YoutubeConfiguration() - Constructor for class org.apache.streams.youtube.YoutubeConfiguration
 
YoutubeDataCollector - Class in org.apache.streams.youtube.provider
Base Collector for Youtube Data.
YoutubeDataCollector() - Constructor for class org.apache.streams.youtube.provider.YoutubeDataCollector
 
YoutubeEventClassifier - Class in org.apache.streams.youtube.serializer
 
YoutubeEventClassifier() - Constructor for class org.apache.streams.youtube.serializer.YoutubeEventClassifier
 
YoutubeProvider - Class in org.apache.streams.youtube.provider
 
YoutubeProvider() - Constructor for class org.apache.streams.youtube.provider.YoutubeProvider
YoutubeProvider constructor.
YoutubeProvider(YoutubeConfiguration) - Constructor for class org.apache.streams.youtube.provider.YoutubeProvider
YoutubeProvider constructor - uses supplied YoutubeConfiguration.
YoutubeTypeConverter - Class in org.apache.streams.youtube.processor
 
YoutubeTypeConverter() - Constructor for class org.apache.streams.youtube.processor.YoutubeTypeConverter
 
YoutubeUserActivityCollector - Class in org.apache.streams.youtube.provider
YoutubeDataCollector for YoutubeUserActivityProvider.
YoutubeUserActivityCollector(YouTube, BlockingQueue<StreamsDatum>, BackOffStrategy, UserInfo, YoutubeConfiguration) - Constructor for class org.apache.streams.youtube.provider.YoutubeUserActivityCollector
YoutubeUserActivityCollector constructor.
YoutubeUserActivityProvider - Class in org.apache.streams.youtube.provider
Retrieve recent activity from a list of user ids or names.
YoutubeUserActivityProvider() - Constructor for class org.apache.streams.youtube.provider.YoutubeUserActivityProvider
 
YoutubeUserActivityProvider(YoutubeConfiguration) - Constructor for class org.apache.streams.youtube.provider.YoutubeUserActivityProvider
 
YoutubeVideoDeserializer - Class in org.apache.streams.youtube.serializer
 
YoutubeVideoDeserializer() - Constructor for class org.apache.streams.youtube.serializer.YoutubeVideoDeserializer
 
B C D E F G H I M O P R S T U W Y 
Skip navigation links

Copyright © 2017 The Apache Software Foundation. All rights reserved.