Class TwitterSearchEndpointBuilderFactory.TwitterSearchHeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.TwitterSearchEndpointBuilderFactory.TwitterSearchHeaderNameBuilder
- Enclosing interface:
- TwitterSearchEndpointBuilderFactory
public static class TwitterSearchEndpointBuilderFactory.TwitterSearchHeaderNameBuilder
extends Object
The builder of headers' name for the Twitter Search component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionLimiting number of results per page.The type of event.The keywords to search.If specified, returns tweets with status ids less than the given id.The number of pages result which you want camel-twitter to consume.The lang string ISO_639-1 which will be used for searching.The last tweet id which will be used for pulling the tweets.
-
Constructor Details
-
TwitterSearchHeaderNameBuilder
public TwitterSearchHeaderNameBuilder()
-
-
Method Details
-
twitterKeywords
The keywords to search. The option is a:String
type. Group: common- Returns:
- the name of the header
TwitterKeywords
.
-
twitterSearchLanguage
The lang string ISO_639-1 which will be used for searching. The option is a:String
type. Group: common- Returns:
- the name of the header
TwitterSearchLanguage
.
-
twitterCount
Limiting number of results per page. The option is a:Integer
type. Group: common- Returns:
- the name of the header
TwitterCount
.
-
twitterNumberOfPages
The number of pages result which you want camel-twitter to consume. The option is a:Integer
type. Group: common- Returns:
- the name of the header
TwitterNumberOfPages
.
-
twitterSinceId
The last tweet id which will be used for pulling the tweets. It is useful when the camel route is restarted after a long-running. The option is a:Long
type. Group: common- Returns:
- the name of the header
TwitterSinceId
.
-
twitterMaxId
If specified, returns tweets with status ids less than the given id. The option is a:Long
type. Group: common- Returns:
- the name of the header
TwitterMaxId
.
-
twitterEventType
The type of event. The supported values are the values of the enum org.apache.camel.component.twitter.consumer.TwitterEventType. The option is a:String
type. Group: common- Returns:
- the name of the header
TwitterEventType
.
-