public static class ValueFormatter.IPv4Formatter extends Object implements ValueFormatter
ValueFormatter.BooleanFormatter, ValueFormatter.DateTime, ValueFormatter.GeoHash, ValueFormatter.IPv4Formatter, ValueFormatter.Number, ValueFormatter.RawBOOLEAN, GEOHASH, IPv4, RAW| コンストラクタと説明 |
|---|
IPv4Formatter() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
format(double value) |
String |
format(long value)
Formats the given millis time value (since the epoch) to string.
|
byte |
id()
Uniquely identifies this formatter (used for efficient serialization)
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
public byte id()
ValueFormatterid インタフェース内 ValueFormatterpublic String format(long value)
ValueFormatterformat インタフェース内 ValueFormattervalue - The long value to format.public String format(double value)
format インタフェース内 ValueFormattervalue - double The double value to format.public void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionCopyright © 2009–2016. All rights reserved.