Class TwitterGeoFunctionConfiguration
java.lang.Object
org.springframework.cloud.fn.twitter.geo.TwitterGeoFunctionConfiguration
@Configuration
@EnableConfigurationProperties(TwitterGeoFunctionProperties.class)
@Import(TwitterConnectionConfiguration.class)
public class TwitterGeoFunctionConfiguration
extends Object
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessageToGeoQueryFunction
(TwitterGeoFunctionProperties geoProperties) twitterGeoFunction
(Function<Message<?>, twitter4j.GeoQuery> toGeoQuery, Function<twitter4j.GeoQuery, List<twitter4j.Place>> places, Function<Object, Message<byte[]>> managedJson) twitterReverseGeocodeFunction
(twitter4j.Twitter twitter) twitterSearchPlacesFunction
(twitter4j.Twitter twitter)
-
Constructor Details
-
TwitterGeoFunctionConfiguration
public TwitterGeoFunctionConfiguration()
-
-
Method Details
-
messageToGeoQueryFunction
@Bean public Function<Message<?>,twitter4j.GeoQuery> messageToGeoQueryFunction(TwitterGeoFunctionProperties geoProperties) -
twitterSearchPlacesFunction
-
twitterReverseGeocodeFunction
-
twitterGeoFunction
-