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
Constructors Constructor Description TwitterSearchHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
twitterCount()
Limiting number of results per page.String
twitterEventType()
The type of event.String
twitterKeywords()
The keywords to search.String
twitterMaxId()
If specified, returns tweets with status ids less than the given id.String
twitterNumberOfPages()
The number of pages result which you want camel-twitter to consume.String
twitterSearchLanguage()
The lang string ISO_639-1 which will be used for searching.String
twitterSinceId()
The last tweet id which will be used for pulling the tweets.
-
-
-
Method Detail
-
twitterKeywords
public String twitterKeywords()
The keywords to search. The option is a:String
type. Group: common- Returns:
- the name of the header
TwitterKeywords
.
-
twitterSearchLanguage
public String 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
public String twitterCount()
Limiting number of results per page. The option is a:Integer
type. Group: common- Returns:
- the name of the header
TwitterCount
.
-
twitterNumberOfPages
public String 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
public String 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
public String 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
public String 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
.
-
-