java.lang.Object
org.elasticsearch.index.shard.DenseVectorStats
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentFragment
Statistics about indexed dense vector
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
FieldsFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(DenseVectorStats other) boolean
long
Returns the total number of dense vectors added in the index.int
hashCode()
Returns a map of per-field off-heap stats.toXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Field Details
-
INCLUDE_OFF_HEAP
- See Also:
-
INCLUDE_PER_FIELD_STATS
- See Also:
-
-
Constructor Details
-
DenseVectorStats
public DenseVectorStats() -
DenseVectorStats
public DenseVectorStats(long count) -
DenseVectorStats
-
DenseVectorStats
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
add
-
getValueCount
public long getValueCount()Returns the total number of dense vectors added in the index. -
offHeapStats
Returns a map of per-field off-heap stats. -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-