A C G 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() - 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.

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() - Constructor for class co.cask.cdap.examples.wordcount.RetrieveCounts
 
RetrieveCountsHandler - Class in co.cask.cdap.examples.wordcount
Retrieve Counts service handler.
RetrieveCountsHandler() - 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
 
UniqueCounter() - 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() - 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
 
WordCounter - Class in co.cask.cdap.examples.wordcount
Flow that takes any arbitrary string of input and performs word statistics.
WordCounter() - Constructor for class co.cask.cdap.examples.wordcount.WordCounter
 
WordSplitter - Class in co.cask.cdap.examples.wordcount
Word splitter Flowlet.
WordSplitter() - 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 P R S U W 

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