Module org.elasticsearch.server
Package org.elasticsearch.search
Class DocValueFormat.TimeSeriesIdDocValueFormat
java.lang.Object
org.elasticsearch.search.DocValueFormat.TimeSeriesIdDocValueFormat
- All Implemented Interfaces:
NamedWriteable,Writeable,DocValueFormat
- Enclosing interface:
DocValueFormat
public static class DocValueFormat.TimeSeriesIdDocValueFormat
extends Object
implements DocValueFormat
DocValues format for time series id.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.search.DocValueFormat
DocValueFormat.BinaryDocValueFormat, DocValueFormat.BooleanDocValueFormat, DocValueFormat.DateTime, DocValueFormat.Decimal, DocValueFormat.DenseVectorDocValueFormat, DocValueFormat.GeoHashDocValueFormat, DocValueFormat.GeoTileDocValueFormat, DocValueFormat.IpDocValueFormat, DocValueFormat.RawDocValueFormat, DocValueFormat.TimeSeriesIdDocValueFormat, DocValueFormat.UnsignedLongShiftedDocValueFormatNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.search.DocValueFormat
BIGINTEGER_2_64_MINUS_ONE, BINARY, BOOLEAN, DENSE_VECTOR, GEOHASH, GEOTILE, IP, MASK_2_63, RAW, TIME_SERIES_ID, UNSIGNED_LONG_SHIFTED -
Method Summary
Modifier and TypeMethodDescriptionformat(org.apache.lucene.util.BytesRef value) Format a binary value.Returns the name of the writeable objectorg.apache.lucene.util.BytesRefparseBytesRef(Object value) Parse a value that was formatted withDocValueFormat.format(BytesRef)back to the original BytesRef.toString()voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.search.DocValueFormat
format, format, formatSortValue, parseDouble, parseLong
-
Method Details
-
getWriteableName
Description copied from interface:NamedWriteableReturns the name of the writeable object- Specified by:
getWriteableNamein interfaceNamedWriteable
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput. -
toString
-
format
Description copied from interface:DocValueFormatFormat a binary value. This is used by terms aggregations to format keys for fields that use binary doc value representations such as thekeywordandipfields.- Specified by:
formatin interfaceDocValueFormat- Parameters:
value- The TSID as aBytesRef- Returns:
- the Base 64 encoded TSID
-
parseBytesRef
Description copied from interface:DocValueFormatParse a value that was formatted withDocValueFormat.format(BytesRef)back to the original BytesRef.- Specified by:
parseBytesRefin interfaceDocValueFormat
-