| Modifier and Type | Class and Description |
|---|---|
class |
Configuration
Provides access to configuration parameters.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
InputFormat
Create an input format
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseInputFormat |
| Modifier and Type | Class and Description |
|---|---|
class |
CSVInputFormat
Line input format creates an @link{LineRecordReader}
|
class |
LibSvmInputFormat
Lib svm input format
|
class |
LineInputFormat
Line input format creates an @link{LineRecordReader}
|
class |
MatlabInputFormat
Matlab input format
|
class |
SVMLightInputFormat
SVMLight input format
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WritableComparable<T>
A
Writable which is also Comparable. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Writable> |
WritableUtils.clone(T orig,
Configuration conf)
Make a copy of a writable object using serialization to a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
Writable |
WritableConverter.convert(Writable writable)
Convert a writable to another kind of writable
|
| Modifier and Type | Method and Description |
|---|---|
Writable |
WritableConverter.convert(Writable writable)
Convert a writable to another kind of writable
|
static byte[] |
WritableUtils.toByteArray(Writable... writables)
Convert writables to a byte array
|
| Modifier and Type | Method and Description |
|---|---|
Writable |
DoubleWritableConverter.convert(Writable writable) |
Writable |
LabelWriterConverter.convert(Writable writable) |
Writable |
FloatWritableConverter.convert(Writable writable) |
Writable |
SelfWritableConverter.convert(Writable writable) |
| Modifier and Type | Method and Description |
|---|---|
Writable |
DoubleWritableConverter.convert(Writable writable) |
Writable |
LabelWriterConverter.convert(Writable writable) |
Writable |
FloatWritableConverter.convert(Writable writable) |
Writable |
SelfWritableConverter.convert(Writable writable) |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanWritable
A WritableComparable for booleans.
|
class |
ByteWritable
A WritableComparable for a single byte.
|
class |
DoubleWritable
Writable for Double values.
|
class |
FloatWritable
A WritableComparable for floats.
|
class |
IntWritable
A WritableComparable for ints.
|
class |
LongWritable
A WritableComparable for longs.
|
class |
NullWritable
NullWritable.
|
class |
Text
This class stores text using standard UTF8 encoding.
|
| Modifier and Type | Method and Description |
|---|---|
Writable |
ParentPathLabelGenerator.getLabelForPath(String path) |
Writable |
PathLabelGenerator.getLabelForPath(String path) |
Writable |
PatternPathLabelGenerator.getLabelForPath(String path) |
Writable |
ParentPathLabelGenerator.getLabelForPath(URI uri) |
Writable |
PathLabelGenerator.getLabelForPath(URI uri) |
Writable |
PatternPathLabelGenerator.getLabelForPath(URI uri) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Writable> |
RecordReader.next()
Get the next record
|
Collection<Writable> |
RecordReader.record(URI uri,
DataInputStream dataInputStream)
Load the record from the given DataInputStream
Unlike
RecordReader.next() the internal state of the RecordReader is not modified
Implementations of this method should not close the DataInputStream |
Collection<Collection<Writable>> |
SequenceRecordReader.sequenceRecord()
Returns a sequence record`
|
Collection<Collection<Writable>> |
SequenceRecordReader.sequenceRecord(URI uri,
DataInputStream dataInputStream)
Load a sequence record from the given DataInputStream
Unlike
RecordReader.next() the internal state of the RecordReader is not modified
Implementations of this method should not close the DataInputStream |
| Modifier and Type | Method and Description |
|---|---|
Collection<Writable> |
LineRecordReader.next() |
Collection<Writable> |
ComposableRecordReader.next() |
Collection<Writable> |
MatlabRecordReader.next() |
Collection<Writable> |
LibSvmRecordReader.next() |
Collection<Writable> |
FileRecordReader.next() |
Collection<Writable> |
SVMLightRecordReader.next() |
Collection<Writable> |
CollectionRecordReader.next() |
Collection<Writable> |
CSVRecordReader.next() |
Collection<Writable> |
LineRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
ComposableRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
MatlabRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
LibSvmRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
FileRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
SVMLightRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
CollectionRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Writable> |
CSVRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Collection<Writable>> |
CSVSequenceRecordReader.sequenceRecord() |
Collection<Collection<Writable>> |
CSVSequenceRecordReader.sequenceRecord(URI uri,
DataInputStream dataInputStream) |
| Constructor and Description |
|---|
CollectionRecordReader(Collection<? extends Collection<Writable>> records) |
| Modifier and Type | Field and Description |
|---|---|
static Writable |
FieldSelection.DEFAULT_MISSING_VALUE |
| Modifier and Type | Method and Description |
|---|---|
List<Writable> |
FieldSelection.getValueIfMissing() |
Collection<Writable> |
JacksonRecordReader.next() |
Collection<Writable> |
JacksonRecordReader.record(URI uri,
DataInputStream dataInputStream) |
| Modifier and Type | Method and Description |
|---|---|
FieldSelection.Builder |
FieldSelection.Builder.addField(Writable valueIfMissing,
String... fieldPath) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Writable> |
RegexLineRecordReader.next() |
Collection<Writable> |
RegexLineRecordReader.record(URI uri,
DataInputStream dataInputStream) |
Collection<Collection<Writable>> |
RegexSequenceRecordReader.sequenceRecord() |
Collection<Collection<Writable>> |
RegexSequenceRecordReader.sequenceRecord(URI uri,
DataInputStream dataInputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
RecordWriter.write(Collection<Writable> record)
Write a record
|
| Modifier and Type | Method and Description |
|---|---|
void |
CSVRecordWriter.write(Collection<Writable> record) |
void |
LineRecordWriter.write(Collection<Writable> record) |
void |
FileRecordWriter.write(Collection<Writable> record) |
void |
LibSvmRecordWriter.write(Collection<Writable> record) |
void |
SVMLightRecordWriter.write(Collection<Writable> record) |
void |
MatlabRecordWriter.write(Collection<Writable> record) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InputSplit
An input split
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseInputSplit
Base input split
|
class |
CollectionInputSplit
A simple InputSplit based on a collection of URIs
|
class |
FileSplit
File input split.
|
class |
InputStreamInputSplit
Input stream input split.
|
class |
LimitFileSplit
File input split that allows limits on number of files loaded.
|
class |
NumberedFileInputSplit
InputSplit for sequences of numbered files.
|
class |
StringSplit
String split used for single line inputs
|
| Modifier and Type | Method and Description |
|---|---|
static Collection<Writable> |
RecordUtils.toRecord(double[] record) |
static Collection<Writable> |
RecordUtils.toRecord(float[] record) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ReflectionUtils.cloneWritableInto(Writable dst,
Writable src)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Vectorizer.RecordCallBack.onRecord(Collection<Writable> record)
The record callback
|
VECTOR_TYPE |
Vectorizer.transform(Collection<Writable> record)
Transform a record in to a vector
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayWritable
A Writable to basically wrap an array of sorts.
|
| Modifier and Type | Method and Description |
|---|---|
static List<List<Writable>> |
Writables.writables(Collection<String> collection) |
Copyright © 2016. All rights reserved.