- DancingLinks<ColumnName> - Class in org.apache.hadoop.examples.dancing
-
A generic solver for tile laying problems using Knuth's dancing link
algorithm.
- DancingLinks() - Constructor for class org.apache.hadoop.examples.dancing.DancingLinks
-
- DancingLinks.SolutionAcceptor<ColumnName> - Interface in org.apache.hadoop.examples.dancing
-
Applications should implement this to receive the solutions to their
problems.
- DBCountPageView - Class in org.apache.hadoop.examples
-
This is a demonstrative program, which uses DBInputFormat for reading
the input data from a database, and DBOutputFormat for writing the data
to the database.
- DBCountPageView() - Constructor for class org.apache.hadoop.examples.DBCountPageView
-
- DEFAULT_FINAL_SYNC_ATTRIBUTE - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- DEFAULT_NUM_PARTITIONS - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- DEFAULT_NUM_ROWS - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- DEFAULT_OUTPUT_REPLICATION - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- DEFAULT_SAMPLE_SIZE - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- DEFAULT_USE_SIMPLE_PARTITIONER - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- DEFAULT_USE_TERA_SCHEDULER - Static variable in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
- delta - Variable in class org.apache.hadoop.examples.pi.math.ArithmeticProgression
-
Difference between terms
- DEPTH - Static variable in class org.apache.hadoop.examples.dancing.Pentomino
-
- DESCRIPTION - Static variable in class org.apache.hadoop.examples.BaileyBorweinPlouffe
-
- DESCRIPTION - Static variable in class org.apache.hadoop.examples.pi.DistBbp
-
- DistBbp - Class in org.apache.hadoop.examples.pi
-
A map/reduce program that uses a BBP-type method to compute exact
binary digits of Pi.
- DistBbp() - Constructor for class org.apache.hadoop.examples.pi.DistBbp
-
- DistributedPentomino - Class in org.apache.hadoop.examples.dancing
-
Launch a distributed pentomino solver.
- DistributedPentomino() - Constructor for class org.apache.hadoop.examples.dancing.DistributedPentomino
-
- DistributedPentomino.PentMap - Class in org.apache.hadoop.examples.dancing
-
Each map takes a line, which represents a prefix move and finds all of
the solutions that start with that prefix.
- DistSum - Class in org.apache.hadoop.examples.pi
-
The main class for computing sums using map/reduce jobs.
- DistSum() - Constructor for class org.apache.hadoop.examples.pi.DistSum
-
- DistSum.Machine - Class in org.apache.hadoop.examples.pi
-
Abstract machine for job execution.
- DistSum.Machine.AbstractInputFormat - Class in org.apache.hadoop.examples.pi
-
An abstract InputFormat for the jobs
- DistSum.Machine.SummationSplit - Class in org.apache.hadoop.examples.pi
-
Split for the summations
- DistSum.MapSide - Class in org.apache.hadoop.examples.pi
-
A machine which does computation on the map side.
- DistSum.MapSide.PartitionInputFormat - Class in org.apache.hadoop.examples.pi
-
An InputFormat which partitions a summation
- DistSum.MapSide.SummingMapper - Class in org.apache.hadoop.examples.pi
-
A mapper which computes sums
- DistSum.MixMachine - Class in org.apache.hadoop.examples.pi
-
A machine which chooses Machine in runtime according to the cluster status
- DistSum.ReduceSide - Class in org.apache.hadoop.examples.pi
-
A machine which does computation on the reduce side.
- DistSum.ReduceSide.IndexPartitioner - Class in org.apache.hadoop.examples.pi
-
Use the index for partitioning.
- DistSum.ReduceSide.PartitionMapper - Class in org.apache.hadoop.examples.pi
-
A Mapper which partitions a summation
- DistSum.ReduceSide.SummationInputFormat - Class in org.apache.hadoop.examples.pi
-
An InputFormat which returns a single summation.
- DistSum.ReduceSide.SummingReducer - Class in org.apache.hadoop.examples.pi
-
A Reducer which computes sums
- Machine() - Constructor for class org.apache.hadoop.examples.pi.DistSum.Machine
-
- main(String[]) - Static method in class org.apache.hadoop.examples.AggregateWordCount
-
The main driver for word count map/reduce program.
- main(String[]) - Static method in class org.apache.hadoop.examples.AggregateWordHistogram
-
The main driver for word count map/reduce program.
- main(String[]) - Static method in class org.apache.hadoop.examples.BaileyBorweinPlouffe
-
The main method for running it as a stand alone command.
- main(String[]) - Static method in class org.apache.hadoop.examples.dancing.DistributedPentomino
-
Launch the solver on 9x10 board and the one sided pentominos.
- main(String[]) - Static method in class org.apache.hadoop.examples.dancing.OneSidedPentomino
-
Solve the 3x30 puzzle.
- main(String[]) - Static method in class org.apache.hadoop.examples.dancing.Pentomino
-
Solve the 6x10 pentomino puzzle.
- main(String[]) - Static method in class org.apache.hadoop.examples.dancing.Sudoku
-
Solves a set of sudoku puzzles.
- main(String[]) - Static method in class org.apache.hadoop.examples.DBCountPageView
-
- main(String[]) - Static method in class org.apache.hadoop.examples.ExampleDriver
-
- main(String[]) - Static method in class org.apache.hadoop.examples.Grep
-
- main(String[]) - Static method in class org.apache.hadoop.examples.Join
-
- main(String[]) - Static method in class org.apache.hadoop.examples.MultiFileWordCount
-
- main(String[]) - Static method in class org.apache.hadoop.examples.pi.DistBbp
-
main
- main(String[]) - Static method in class org.apache.hadoop.examples.pi.DistSum
-
main
- main(String[]) - Static method in class org.apache.hadoop.examples.pi.math.Bellard
-
main
- main(String[]) - Static method in class org.apache.hadoop.examples.pi.Parser
-
main
- main(String[]) - Static method in class org.apache.hadoop.examples.QuasiMonteCarlo
-
main method for running it as a stand alone command.
- main(String[]) - Static method in class org.apache.hadoop.examples.RandomTextWriter
-
- main(String[]) - Static method in class org.apache.hadoop.examples.RandomWriter
-
- main(String[]) - Static method in class org.apache.hadoop.examples.SecondarySort
-
- main(String[]) - Static method in class org.apache.hadoop.examples.Sort
-
- main(String[]) - Static method in class org.apache.hadoop.examples.terasort.GenSort
-
- main(String[]) - Static method in class org.apache.hadoop.examples.terasort.TeraChecksum
-
- main(String[]) - Static method in class org.apache.hadoop.examples.terasort.TeraGen
-
- main(String[]) - Static method in class org.apache.hadoop.examples.terasort.TeraSort
-
- main(String[]) - Static method in class org.apache.hadoop.examples.terasort.TeraValidate
-
- main(String[]) - Static method in class org.apache.hadoop.examples.WordCount
-
- main(String[]) - Static method in class org.apache.hadoop.examples.WordMean
-
- main(String[]) - Static method in class org.apache.hadoop.examples.WordMedian
-
- main(String[]) - Static method in class org.apache.hadoop.examples.WordStandardDeviation
-
- map(LongWritable, IntWritable, Mapper<LongWritable, IntWritable, LongWritable, BytesWritable>.Context) - Method in class org.apache.hadoop.examples.BaileyBorweinPlouffe.BbpMapper
-
Compute the (offset+1)th to (offset+length)th digits.
- map(WritableComparable<?>, Text, Mapper<WritableComparable<?>, Text, Text, Text>.Context) - Method in class org.apache.hadoop.examples.dancing.DistributedPentomino.PentMap
-
Break the prefix string into moves (a sequence of integer row ids that
will be selected for each column in order).
- map(MultiFileWordCount.WordOffset, Text, Mapper<MultiFileWordCount.WordOffset, Text, Text, IntWritable>.Context) - Method in class org.apache.hadoop.examples.MultiFileWordCount.MapClass
-
- map(NullWritable, SummationWritable, Mapper<NullWritable, SummationWritable, NullWritable, TaskResult>.Context) - Method in class org.apache.hadoop.examples.pi.DistSum.MapSide.SummingMapper
-
- map(NullWritable, SummationWritable, Mapper<NullWritable, SummationWritable, IntWritable, SummationWritable>.Context) - Method in class org.apache.hadoop.examples.pi.DistSum.ReduceSide.PartitionMapper
-
Partitions sigma into parts
- map(LongWritable, LongWritable, Mapper<LongWritable, LongWritable, BooleanWritable, LongWritable>.Context) - Method in class org.apache.hadoop.examples.QuasiMonteCarlo.QmcMapper
-
Map method.
- map(LongWritable, Text, Mapper<LongWritable, Text, SecondarySort.IntPair, IntWritable>.Context) - Method in class org.apache.hadoop.examples.SecondarySort.MapClass
-
- map(LongWritable, NullWritable, Mapper<LongWritable, NullWritable, Text, Text>.Context) - Method in class org.apache.hadoop.examples.terasort.TeraGen.SortGenMapper
-
- map(Object, Text, Mapper<Object, Text, Text, IntWritable>.Context) - Method in class org.apache.hadoop.examples.WordCount.TokenizerMapper
-
- map(Object, Text, Mapper<Object, Text, Text, LongWritable>.Context) - Method in class org.apache.hadoop.examples.WordMean.WordMeanMapper
-
Emits 2 key-value pairs for counting the word and its length.
- map(Object, Text, Mapper<Object, Text, IntWritable, IntWritable>.Context) - Method in class org.apache.hadoop.examples.WordMedian.WordMedianMapper
-
Emits a key-value pair for counting the word.
- map(Object, Text, Mapper<Object, Text, Text, LongWritable>.Context) - Method in class org.apache.hadoop.examples.WordStandardDeviation.WordStandardDeviationMapper
-
Emits 3 key-value pairs for counting the word, its length, and the
squares of its length.
- MapClass() - Constructor for class org.apache.hadoop.examples.MultiFileWordCount.MapClass
-
- MapClass() - Constructor for class org.apache.hadoop.examples.SecondarySort.MapClass
-
- MAPS_PER_HOST - Static variable in class org.apache.hadoop.examples.RandomTextWriter
-
- MAPS_PER_HOST - Static variable in class org.apache.hadoop.examples.RandomWriter
-
- MapSide() - Constructor for class org.apache.hadoop.examples.pi.DistSum.MapSide
-
- MAX_KEY - Static variable in class org.apache.hadoop.examples.RandomTextWriter
-
- MAX_KEY - Static variable in class org.apache.hadoop.examples.RandomWriter
-
- MAX_VALUE - Static variable in class org.apache.hadoop.examples.RandomTextWriter
-
- MAX_VALUE - Static variable in class org.apache.hadoop.examples.RandomWriter
-
- millis2String(long) - Static method in class org.apache.hadoop.examples.pi.Util
-
Covert milliseconds to a String.
- MIN_KEY - Static variable in class org.apache.hadoop.examples.RandomTextWriter
-
- MIN_KEY - Static variable in class org.apache.hadoop.examples.RandomWriter
-
- MIN_VALUE - Static variable in class org.apache.hadoop.examples.RandomTextWriter
-
- MIN_VALUE - Static variable in class org.apache.hadoop.examples.RandomWriter
-
- MixMachine() - Constructor for class org.apache.hadoop.examples.pi.DistSum.MixMachine
-
- mod(long, long) - Static method in class org.apache.hadoop.examples.pi.math.Modular
-
Compute 2^e mod n
- modInverse(long, long) - Static method in class org.apache.hadoop.examples.pi.math.Modular
-
Given 0 < x < y,
return x^(-1) mod y.
- Modular - Class in org.apache.hadoop.examples.pi.math
-
Modular arithmetics
- Modular() - Constructor for class org.apache.hadoop.examples.pi.math.Modular
-
- MultiFileWordCount - Class in org.apache.hadoop.examples
-
MultiFileWordCount is an example to demonstrate the usage of
MultiFileInputFormat.
- MultiFileWordCount() - Constructor for class org.apache.hadoop.examples.MultiFileWordCount
-
- MultiFileWordCount.CombineFileLineRecordReader - Class in org.apache.hadoop.examples
-
RecordReader is responsible from extracting records from a chunk
of the CombineFileSplit.
- MultiFileWordCount.MapClass - Class in org.apache.hadoop.examples
-
- MultiFileWordCount.MyInputFormat - Class in org.apache.hadoop.examples
-
To use CombineFileInputFormat, one should extend it, to return a
(custom) RecordReader.
- MultiFileWordCount.WordOffset - Class in org.apache.hadoop.examples
-
This record keeps <filename,offset> pairs.
- MyInputFormat() - Constructor for class org.apache.hadoop.examples.MultiFileWordCount.MyInputFormat
-
- SecondarySort - Class in org.apache.hadoop.examples
-
This is an example Hadoop Map/Reduce application.
- SecondarySort() - Constructor for class org.apache.hadoop.examples.SecondarySort
-
- SecondarySort.FirstGroupingComparator - Class in org.apache.hadoop.examples
-
Compare only the first part of the pair, so that reduce is called once
for each value of the first part.
- SecondarySort.FirstPartitioner - Class in org.apache.hadoop.examples
-
Partition based on the first part of the pair.
- SecondarySort.IntPair - Class in org.apache.hadoop.examples
-
Define a pair of integers that are writable.
- SecondarySort.IntPair.Comparator - Class in org.apache.hadoop.examples
-
A Comparator that compares serialized IntPair.
- SecondarySort.MapClass - Class in org.apache.hadoop.examples
-
Read two integers from each line and generate a key, value pair
as ((left, right), right).
- SecondarySort.Reduce - Class in org.apache.hadoop.examples
-
A reducer class that just emits the sum of the input values.
- set(int, int) - Method in class org.apache.hadoop.examples.SecondarySort.IntPair
-
Set the left and right values.
- setConf(Configuration) - Method in class org.apache.hadoop.examples.terasort.TeraSort.SimplePartitioner
-
- setOutputReplication(Job, int) - Static method in class org.apache.hadoop.examples.terasort.TeraSort
-
- setPrinter(DancingLinks.SolutionAcceptor<Pentomino.ColumnName>) - Method in class org.apache.hadoop.examples.dancing.Pentomino
-
Set the printer for the puzzle.
- setup(Mapper<WritableComparable<?>, Text, Text, Text>.Context) - Method in class org.apache.hadoop.examples.dancing.DistributedPentomino.PentMap
-
- setUseSimplePartitioner(Job, boolean) - Static method in class org.apache.hadoop.examples.terasort.TeraSort
-
- setValue(Summation) - Method in class org.apache.hadoop.examples.pi.math.Bellard.Sum
-
Set the value of sigma
- setValue(double) - Method in class org.apache.hadoop.examples.pi.math.Summation
-
Set the value of this summation
- SimplePartitioner() - Constructor for class org.apache.hadoop.examples.terasort.TeraSort.SimplePartitioner
-
- solution(List<List<ColumnName>>) - Method in interface org.apache.hadoop.examples.dancing.DancingLinks.SolutionAcceptor
-
A callback to return a solution to the application.
- solve(int[], DancingLinks.SolutionAcceptor<ColumnName>) - Method in class org.apache.hadoop.examples.dancing.DancingLinks
-
Given a prefix, find solutions under it.
- solve(DancingLinks.SolutionAcceptor<ColumnName>) - Method in class org.apache.hadoop.examples.dancing.DancingLinks
-
Solve a complete problem
- solve(int[]) - Method in class org.apache.hadoop.examples.dancing.Pentomino
-
Find all of the solutions that start with the given prefix.
- solve() - Method in class org.apache.hadoop.examples.dancing.Pentomino
-
Find all of the solutions to the puzzle.
- solve() - Method in class org.apache.hadoop.examples.dancing.Sudoku
-
- Sort<K,V> - Class in org.apache.hadoop.examples
-
This is the trivial map/reduce program that does absolutely nothing
other than use the framework to fragment and sort the input values.
- Sort() - Constructor for class org.apache.hadoop.examples.Sort
-
- SortGenMapper() - Constructor for class org.apache.hadoop.examples.terasort.TeraGen.SortGenMapper
-
- split(int) - Method in class org.apache.hadoop.examples.dancing.DancingLinks
-
Generate a list of row choices to cover the first moves.
- string2long(String) - Static method in class org.apache.hadoop.examples.pi.Util
-
Covert a String to a long.
- string2TaskResult(String) - Static method in class org.apache.hadoop.examples.pi.DistSum
-
Convert a String to a (String, TaskResult) pair
- stringifySolution(int, int, List<List<Pentomino.ColumnName>>) - Static method in class org.apache.hadoop.examples.dancing.Pentomino
-
Convert a solution to the puzzle returned by the model into a string
that represents the placement of the pieces onto the board.
- Sudoku - Class in org.apache.hadoop.examples.dancing
-
This class uses the dancing links algorithm from Knuth to solve sudoku
puzzles.
- Sudoku(InputStream) - Constructor for class org.apache.hadoop.examples.dancing.Sudoku
-
Set up a puzzle board to the given size.
- Sudoku.ColumnName - Interface in org.apache.hadoop.examples.dancing
-
This interface is a marker class for the columns created for the
Sudoku solver.
- Summation - Class in org.apache.hadoop.examples.pi.math
-
Represent the summation \sum \frac{2^e \mod n}{n}.
- Summation(ArithmeticProgression, ArithmeticProgression) - Constructor for class org.apache.hadoop.examples.pi.math.Summation
-
Constructor
- SummationInputFormat() - Constructor for class org.apache.hadoop.examples.pi.DistSum.ReduceSide.SummationInputFormat
-
- SummationSplit() - Constructor for class org.apache.hadoop.examples.pi.DistSum.Machine.SummationSplit
-
- SummationWritable - Class in org.apache.hadoop.examples.pi
-
A Writable class for Summation
- SummationWritable() - Constructor for class org.apache.hadoop.examples.pi.SummationWritable
-
- SummingMapper() - Constructor for class org.apache.hadoop.examples.pi.DistSum.MapSide.SummingMapper
-
- SummingReducer() - Constructor for class org.apache.hadoop.examples.pi.DistSum.ReduceSide.SummingReducer
-
- symbol - Variable in class org.apache.hadoop.examples.pi.math.ArithmeticProgression
-
A symbol
- value - Variable in class org.apache.hadoop.examples.pi.math.ArithmeticProgression
-
Starting value
- valueOf(String) - Static method in enum org.apache.hadoop.examples.dancing.Pentomino.SolutionCategory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.hadoop.examples.pi.math.Bellard.Parameter
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class org.apache.hadoop.examples.pi.math.Summation
-
Covert a String to a Summation.
- valueOf(String) - Static method in class org.apache.hadoop.examples.pi.TaskResult
-
Covert a String to a TaskResult
- valueOf(String) - Static method in enum org.apache.hadoop.examples.terasort.TeraGen.Counters
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.hadoop.examples.dancing.Pentomino.SolutionCategory
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.hadoop.examples.pi.math.Bellard.Parameter
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.hadoop.examples.terasort.TeraGen.Counters
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.apache.hadoop.examples.terasort.TeraSortConfigKeys
-
Returns an array containing the constants of this enum type, in
the order they are declared.