Module org.elasticsearch.server
Package org.elasticsearch.index.mapper
Class IpFallbackSyntheticSourceReader
java.lang.Object
org.elasticsearch.index.mapper.FallbackSyntheticSourceBlockLoader.SingleValueReader<InetAddress>
org.elasticsearch.index.mapper.IpFallbackSyntheticSourceReader
- All Implemented Interfaces:
FallbackSyntheticSourceBlockLoader.Reader<InetAddress>
public class IpFallbackSyntheticSourceReader
extends FallbackSyntheticSourceBlockLoader.SingleValueReader<InetAddress>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconvertValue(Object value, List<InetAddress> accumulator) Converts a raw stored value for this field to a value in a format suitable for block loader and adds it to the provided accumulator.protected voidparseNonNullValue(XContentParser parser, List<InetAddress> accumulator) voidwriteToBlock(List<InetAddress> values, BlockLoader.Builder blockBuilder) Methods inherited from class org.elasticsearch.index.mapper.FallbackSyntheticSourceBlockLoader.SingleValueReader
parse
-
Constructor Details
-
IpFallbackSyntheticSourceReader
-
-
Method Details
-
convertValue
Description copied from interface:FallbackSyntheticSourceBlockLoader.ReaderConverts a raw stored value for this field to a value in a format suitable for block loader and adds it to the provided accumulator.- Parameters:
value- raw decoded value from _ignored_source field (synthetic _source value)accumulator- list containing the result of conversion
-
writeToBlock
-
parseNonNullValue
protected void parseNonNullValue(XContentParser parser, List<InetAddress> accumulator) throws IOException - Specified by:
parseNonNullValuein classFallbackSyntheticSourceBlockLoader.SingleValueReader<InetAddress>- Throws:
IOException
-