FieldExtractor
.See: Description
Class | Description |
---|---|
DateExtractor |
Extracts the field value and translates it to a
LocalDate based on the specified DateTimeFormatter . |
DoubleExtractor |
Extracts the field value and converts it to a double.
|
FloatExtractor |
Extracts the field value and converts it to a float.
|
IdentityExtractor |
Extracts the field value and emits it as a String.
|
IndexExtractor |
An Extractor with special casing for loading the index from a Row.
|
IntExtractor |
Extracts the field value and converts it to a int.
|
SimpleFieldExtractor<T> |
Extracts a value from a single field to be placed in an
Example 's metadata field. |
FieldExtractor
.
The FieldExtractor.getMetadataName()
values of "name" Example.NAME
and "weight" (case-sensitive) are special. In particular, "name" is used throughout the Example
environment to uniquely identify Examples within a Dataset
. "weight" should only
be used for the FieldExtractor
supplied to RowProcessor
as the weightExtractor
which is used by the system to weight Example
s.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.