<prompt> Tengeneza programu ya Java inayotumia API ya Twitter kuleta tweets zilizo na hashtag mahususi na kuzihifadhi katika hifadhidata ya Cassandra. Twiti zilizohifadhiwa zinapaswa kujumuisha maudhui ya tweet, jina la mtumiaji na muhuri wa muda.PLINFORMAT  <response>: javaagiza com.datastax.driver.core.Cluster;agiza com.datastax.driver.core.PreparedStatement;agiza com.datastax.driver.core.Session;kuagiza twitter4j.;agiza twitter4j.conf.ConfigurationBuilder;agiza java.util.UUID;darasa la umma TwitterCassandraApp faragha tuli final Kamba HASHTAG mfano; utupu tuli wa umma String args ConfigurationBuilder cb new ConfigurationBuilder; cb.setDebugEnabledkweli .setOAuthConsumerKeyYOUR_CONSUMER_KEY .setOAuthConsumerSecretYOUR_CONSUMER_SECRET .setOAuthAccessTokenYOUR_ACCESS_TOKEN .setOAuthAccessTokenSecretYOUR_ACCESS_TOKEN_SECRET; TwitterStream twitterStream Kiwanda kipya cha TwitterStreamcb.build.getInstance; Nguzo ya nguzo null; Kipindi cha kikao null; jaribu Unganisha kwa Cassandra nguzo Cluster.builder.addContactPoint127.0.0.1.build; kikao cluster.connecttwitter; PreparedStatement insertTweet session.prepare WEKA KWENYE tweets kitambulisho, jina la mtumiaji, maudhui, muhuri wa saa THAMANI ?, ?, ?, ?; Msikilizaji wa StatusListener Adapta mpya ya Status Batilisha utupu wa umma kwenyeHaliHali ya Hali Maudhui ya kamba status.getText; Jina la mtumiaji wa mfuatano status.getUser.getScreenName; java.util.Date timestamp status.getCreatedAt; System.out.println jina la mtumiaji : maudhui; Ingiza tweet kwenye Cassandra session.executeinsertTweet.bindUUID.randomUUID, jina la mtumiaji, maudhui, muhuri wa muda; ; twitterStream.addListenermsikilizaji; FilterQuery filterQuery FilterQuery mpya; filterQuery.trackString mpyaHASHTAG; twitterStream.filterfilterQuery; kukamata Isipokuwa e e.printStackTrace; hatimaye ikiwa twitterStream ! null twitterStream.shutdown; ikiwa kikao ! null kikao.funga; ikiwa kundi ! null cluster.close; 