Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ARR_HEADER - Static variable in class com.google.code.externalsorting.csv.SizeEstimator
- ARR_HEADER - Static variable in class com.google.code.externalsorting.StringSizeEstimator
B
- BinaryFileBuffer - Class in com.google.code.externalsorting
-
This is essentially a thin wrapper on top of a BufferedReader...
- BinaryFileBuffer(BufferedReader) - Constructor for class com.google.code.externalsorting.BinaryFileBuffer
- build() - Method in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- Builder(Comparator<CSVRecord>, int, long) - Constructor for class com.google.code.externalsorting.csv.CsvSortOptions.Builder
C
- cache - Variable in class com.google.code.externalsorting.BinaryFileBuffer
- cache - Variable in class com.google.code.externalsorting.csv.CSVRecordBuffer
- charset - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- charset(Charset) - Method in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- checkDuplicateLine(CSVRecord, CSVRecord) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
- close() - Method in class com.google.code.externalsorting.BinaryFileBuffer
- close() - Method in class com.google.code.externalsorting.csv.CSVRecordBuffer
- close() - Method in interface com.google.code.externalsorting.IOStringStack
- cmp - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- com.google.code.externalsorting - package com.google.code.externalsorting
- com.google.code.externalsorting.csv - package com.google.code.externalsorting.csv
- comparator - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- cs - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- CsvExternalSort - Class in com.google.code.externalsorting.csv
- CsvExternalSort() - Constructor for class com.google.code.externalsorting.csv.CsvExternalSort
- CSVRecordBuffer - Class in com.google.code.externalsorting.csv
- CSVRecordBuffer(CSVParser) - Constructor for class com.google.code.externalsorting.csv.CSVRecordBuffer
- CsvSortOptions - Class in com.google.code.externalsorting.csv
-
Parameters for csv sorting
- CsvSortOptions(CsvSortOptions.Builder) - Constructor for class com.google.code.externalsorting.csv.CsvSortOptions
- CsvSortOptions.Builder - Class in com.google.code.externalsorting.csv
D
- defaultcomparator - Static variable in class com.google.code.externalsorting.ExternalSort
-
default comparator between strings.
- DEFAULTMAXTEMPFILES - Static variable in class com.google.code.externalsorting.csv.CsvExternalSort
-
Default maximal number of temporary files allowed.
- DEFAULTMAXTEMPFILES - Static variable in class com.google.code.externalsorting.ExternalSort
-
Default maximal number of temporary files allowed.
- displayUsage() - Static method in class com.google.code.externalsorting.ExternalSort
- distinct - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- distinct - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- distinct(boolean) - Method in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
E
- empty() - Method in class com.google.code.externalsorting.BinaryFileBuffer
- empty() - Method in class com.google.code.externalsorting.csv.CSVRecordBuffer
- empty() - Method in interface com.google.code.externalsorting.IOStringStack
- estimateAvailableMemory() - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
-
This method calls the garbage collector and then returns the free memory.
- estimateAvailableMemory() - Static method in class com.google.code.externalsorting.ExternalSort
-
This method calls the garbage collector and then returns the free memory.
- estimateBestSizeOfBlocks(long, int, long) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
-
we divide the file into small blocks.
- estimateBestSizeOfBlocks(long, int, long) - Static method in class com.google.code.externalsorting.ExternalSort
-
we divide the file into small blocks.
- estimatedSizeOf(Object) - Static method in class com.google.code.externalsorting.csv.SizeEstimator
-
Estimates the size of a object in bytes.
- estimatedSizeOf(String) - Static method in class com.google.code.externalsorting.StringSizeEstimator
-
Estimates the size of a
String
object in bytes. - ExternalSort - Class in com.google.code.externalsorting
-
Goal: offer a generic external-memory sorting program in Java.
- ExternalSort() - Constructor for class com.google.code.externalsorting.ExternalSort
F
- fbr - Variable in class com.google.code.externalsorting.BinaryFileBuffer
- format - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- format - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- format(CSVFormat) - Method in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
G
- getCharset() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- getComparator() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- getFormat() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- getMaxMemory() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- getMaxTmpFiles() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- getNumHeader() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
I
- INT_FIELDS - Static variable in class com.google.code.externalsorting.csv.SizeEstimator
- INT_FIELDS - Static variable in class com.google.code.externalsorting.StringSizeEstimator
- IOStringStack - Interface in com.google.code.externalsorting
-
General interface to abstract away BinaryFileBuffer so that users of the library can roll their own.
- IS_64_BIT_JVM - Static variable in class com.google.code.externalsorting.csv.SizeEstimator
- IS_64_BIT_JVM - Static variable in class com.google.code.externalsorting.StringSizeEstimator
- isDistinct() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- isSkipHeader() - Method in class com.google.code.externalsorting.csv.CsvSortOptions
- iterator - Variable in class com.google.code.externalsorting.csv.CSVRecordBuffer
L
- LOG - Static variable in class com.google.code.externalsorting.csv.CsvExternalSort
M
- main(String[]) - Static method in class com.google.code.externalsorting.ExternalSort
- maxMemory - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- maxMemory - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- maxTmpFiles - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- maxTmpFiles - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- mergeSortedFiles(BufferedWriter, CsvSortOptions, List<CSVRecordBuffer>, List<CSVRecord>) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
- mergeSortedFiles(BufferedWriter, Comparator<String>, boolean, List<IOStringStack>) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges several BinaryFileBuffer to an output writer.
- mergeSortedFiles(List<File>, BufferedWriter, Comparator<String>, Charset, boolean, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
- mergeSortedFiles(List<File>, File) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
- mergeSortedFiles(List<File>, File, CsvSortOptions, boolean, List<CSVRecord>) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
- mergeSortedFiles(List<File>, File, Comparator<String>) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
- mergeSortedFiles(List<File>, File, Comparator<String>, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
- mergeSortedFiles(List<File>, File, Comparator<String>, Charset) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
- mergeSortedFiles(List<File>, File, Comparator<String>, Charset, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
- mergeSortedFiles(List<File>, File, Comparator<String>, Charset, boolean, boolean, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This merges a bunch of temporary flat files
N
- numHeader - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- numHeader - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- numHeader(int) - Method in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
O
- OBJ_HEADER - Static variable in class com.google.code.externalsorting.csv.SizeEstimator
- OBJ_HEADER - Static variable in class com.google.code.externalsorting.StringSizeEstimator
- OBJ_OVERHEAD - Static variable in class com.google.code.externalsorting.csv.SizeEstimator
- OBJ_OVERHEAD - Static variable in class com.google.code.externalsorting.StringSizeEstimator
- OBJ_REF - Static variable in class com.google.code.externalsorting.csv.SizeEstimator
- OBJ_REF - Static variable in class com.google.code.externalsorting.StringSizeEstimator
P
- parser - Variable in class com.google.code.externalsorting.csv.CSVRecordBuffer
- peek() - Method in class com.google.code.externalsorting.BinaryFileBuffer
- peek() - Method in class com.google.code.externalsorting.csv.CSVRecordBuffer
- peek() - Method in interface com.google.code.externalsorting.IOStringStack
- pop() - Method in class com.google.code.externalsorting.BinaryFileBuffer
- pop() - Method in class com.google.code.externalsorting.csv.CSVRecordBuffer
- pop() - Method in interface com.google.code.externalsorting.IOStringStack
R
- reload() - Method in class com.google.code.externalsorting.BinaryFileBuffer
- reload() - Method in class com.google.code.externalsorting.csv.CSVRecordBuffer
S
- SizeEstimator - Class in com.google.code.externalsorting.csv
- SizeEstimator() - Constructor for class com.google.code.externalsorting.csv.SizeEstimator
- skipHeader - Variable in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- skipHeader - Variable in class com.google.code.externalsorting.csv.CsvSortOptions
- skipHeader(boolean) - Method in class com.google.code.externalsorting.csv.CsvSortOptions.Builder
- sort(File, File) - Static method in class com.google.code.externalsorting.ExternalSort
-
This sorts a file (input) to an output file (output) using default parameters
- sort(File, File, Comparator<String>) - Static method in class com.google.code.externalsorting.ExternalSort
-
This sorts a file (input) to an output file (output) using customized comparator
- sortAndSave(List<String>, Comparator<String>, Charset, File) - Static method in class com.google.code.externalsorting.ExternalSort
-
Sort a list and save it to a temporary file
- sortAndSave(List<String>, Comparator<String>, Charset, File, boolean, boolean, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
Sort a list and save it to a temporary file
- sortAndSave(List<CSVRecord>, File, CsvSortOptions) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
- sortInBatch(long, BufferedReader, File, CsvSortOptions, List<CSVRecord>) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
- sortInBatch(BufferedReader, long) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(BufferedReader, long, Comparator<String>, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(BufferedReader, long, Comparator<String>, int, long, Charset, File, boolean, int, boolean, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, File, CsvSortOptions, List<CSVRecord>) - Static method in class com.google.code.externalsorting.csv.CsvExternalSort
- sortInBatch(File, Comparator<String>) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, int, Charset, File, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, int, Charset, File, boolean, int) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, int, Charset, File, boolean, int, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, int, Charset, File, boolean, int, boolean, boolean) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, File, boolean, int) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- sortInBatch(File, Comparator<String>, Charset, File, boolean, int) - Static method in class com.google.code.externalsorting.ExternalSort
-
This will simply load the file by blocks of lines, then sort them in-memory, and write the result to temporary files that have to be merged later.
- StringSizeEstimator - Class in com.google.code.externalsorting
-
Simple class used to estimate memory usage.
- StringSizeEstimator() - Constructor for class com.google.code.externalsorting.StringSizeEstimator
-
Private constructor to prevent instantiation.
All Classes and Interfaces|All Packages|Constant Field Values