A C G I P R S U W 

A

AssociationTable - Class in co.cask.cdap.examples.wordcount
 
AssociationTable(DatasetSpecification, Table) - Constructor for class co.cask.cdap.examples.wordcount.AssociationTable
 

C

co.cask.cdap.examples.wordcount - package co.cask.cdap.examples.wordcount
This package contains the WordCount sample Application that counts words and tracks the associations between words.
configure() - Method in class co.cask.cdap.examples.wordcount.RetrieveCounts
 
configure() - Method in class co.cask.cdap.examples.wordcount.WordCount
 
configure() - Method in class co.cask.cdap.examples.wordcount.WordCounter
 
Counter - Class in co.cask.cdap.examples.wordcount
Counter Flowlet.
Counter(String) - Constructor for class co.cask.cdap.examples.wordcount.Counter
 

G

getAssoc(String, String) - Method in class co.cask.cdap.examples.wordcount.AssociationTable
Returns how many times two words occured together.
getAssoc(HttpServiceRequest, HttpServiceResponder, String, String) - Method in class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
Returns the count of associations for a specific word pair.
getCount(HttpServiceRequest, HttpServiceResponder, String, Integer) - Method in class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
Returns the count for a specific word and its word associations, up to the specified limit or a pre-set limit of ten if not specified.
getCounts(HttpServiceRequest, HttpServiceResponder) - Method in class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
Returns the counts for all words in the input.
getMultiCounts(HttpServiceRequest, HttpServiceResponder) - Method in class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
Returns the counts for all words in the input.
getStats(HttpServiceRequest, HttpServiceResponder) - Method in class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
Returns total number of words, the number of unique words, and the average word length.
getStream() - Method in class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
 
getUniqueCountTable() - Method in class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
 
getWordAssocTable() - Method in class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
 
getWordCountTable() - Method in class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
 
getWordStatsTable() - Method in class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
 

I

initialize(FlowletContext) - Method in class co.cask.cdap.examples.wordcount.Counter
 
initialize(HttpServiceContext) - Method in class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
 
initialize(FlowletContext) - Method in class co.cask.cdap.examples.wordcount.UniqueCounter
 
initialize(FlowletContext) - Method in class co.cask.cdap.examples.wordcount.WordAssociator
 
initialize(FlowletContext) - Method in class co.cask.cdap.examples.wordcount.WordSplitter
 

P

process(String) - Method in class co.cask.cdap.examples.wordcount.Counter
 
process(String) - Method in class co.cask.cdap.examples.wordcount.UniqueCounter
 
process(Set<String>) - Method in class co.cask.cdap.examples.wordcount.WordAssociator
 
process(StreamEvent) - Method in class co.cask.cdap.examples.wordcount.WordSplitter
 

R

readUniqueCount() - Method in class co.cask.cdap.examples.wordcount.UniqueCountTable
Returns the current unique count.
readWordAssocs(String, int) - Method in class co.cask.cdap.examples.wordcount.AssociationTable
Returns the top words associated with the specified word and the number of times the words have appeared together.
RetrieveCounts - Class in co.cask.cdap.examples.wordcount
A Service to retrieve statistics, word counts and associations.
RetrieveCounts(WordCount.WordCountConfig) - Constructor for class co.cask.cdap.examples.wordcount.RetrieveCounts
 
RetrieveCountsHandler - Class in co.cask.cdap.examples.wordcount
Retrieve Counts service handler.
RetrieveCountsHandler(WordCount.WordCountConfig) - Constructor for class co.cask.cdap.examples.wordcount.RetrieveCountsHandler
 

S

SERVICE_NAME - Static variable in class co.cask.cdap.examples.wordcount.RetrieveCounts
 

U

UniqueCounter - Class in co.cask.cdap.examples.wordcount
Flowlet that updates unique count of words.
UniqueCounter(String) - Constructor for class co.cask.cdap.examples.wordcount.UniqueCounter
 
UniqueCountTable - Class in co.cask.cdap.examples.wordcount
Counts the number of unique entries seen given any number of entries.
UniqueCountTable(DatasetSpecification, Table, Table) - Constructor for class co.cask.cdap.examples.wordcount.UniqueCountTable
 
updateUniqueCount(String) - Method in class co.cask.cdap.examples.wordcount.UniqueCountTable
Adds the specified entry to the Table and augments the specified tuple with a special field that will be used in the downstream Flowlet that this tuple is sent to.

W

WordAssociator - Class in co.cask.cdap.examples.wordcount
Word associator Flowlet.
WordAssociator(String) - Constructor for class co.cask.cdap.examples.wordcount.WordAssociator
 
WordCount - Class in co.cask.cdap.examples.wordcount
Word count sample Application.
WordCount() - Constructor for class co.cask.cdap.examples.wordcount.WordCount
 
WordCount.WordCountConfig - Class in co.cask.cdap.examples.wordcount
Word Count Application's configuration class.
WordCount.WordCountConfig() - Constructor for class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
Set default values for the configuration variables.
WordCount.WordCountConfig(String, String, String, String, String) - Constructor for class co.cask.cdap.examples.wordcount.WordCount.WordCountConfig
Used only for unit testing.
WordCounter - Class in co.cask.cdap.examples.wordcount
Flow that takes any arbitrary string of input and performs word statistics.
WordCounter(WordCount.WordCountConfig) - Constructor for class co.cask.cdap.examples.wordcount.WordCounter
 
WordSplitter - Class in co.cask.cdap.examples.wordcount
Word splitter Flowlet.
WordSplitter(String) - Constructor for class co.cask.cdap.examples.wordcount.WordSplitter
 
writeWordAssocs(Set<String>) - Method in class co.cask.cdap.examples.wordcount.AssociationTable
Stores associations between the specified set of words.
A C G I P R S U W 

Copyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.