Class ShardsRecord
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.shards.ShardsRecord
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class ShardsRecord extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShardsRecord.Builder
Builder forShardsRecord
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardsRecord>
_DESERIALIZER
Json deserializer forShardsRecord
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
bulkAvgSizeInBytes()
avg size in bytes of shard bulkjava.lang.String
bulkAvgTime()
average time spend in shard bulkjava.lang.String
bulkTotalOperations()
number of bulk shard opsjava.lang.String
bulkTotalSizeInBytes()
total size in bytes of shard bulkjava.lang.String
bulkTotalTime()
time spend in shard bulkjava.lang.String
completionSize()
size of completionjava.lang.String
docs()
number of docs in shardjava.lang.String
fielddataEvictions()
fielddata evictionsjava.lang.String
fielddataMemorySize()
used fielddata cachejava.lang.String
flushTotal()
number of flushesjava.lang.String
flushTotalTime()
time spent in flushjava.lang.String
getCurrent()
number of current get opsjava.lang.String
getExistsTime()
time spent in successful getsjava.lang.String
getExistsTotal()
number of successful getsjava.lang.String
getMissingTime()
time spent in failed getsjava.lang.String
getMissingTotal()
number of failed getsjava.lang.String
getTime()
time spent in getjava.lang.String
getTotal()
number of get opsjava.lang.String
id()
unique id of node where it livesjava.lang.String
index()
index namejava.lang.String
indexingDeleteCurrent()
number of current deletionsjava.lang.String
indexingDeleteTime()
time spent in deletionsjava.lang.String
indexingDeleteTotal()
number of delete opsjava.lang.String
indexingIndexCurrent()
number of current indexing opsjava.lang.String
indexingIndexFailed()
number of failed indexing opsjava.lang.String
indexingIndexTime()
time spent in indexingjava.lang.String
indexingIndexTotal()
number of indexing opsjava.lang.String
ip()
ip of node where it livesjava.lang.String
mergesCurrent()
number of current mergesjava.lang.String
mergesCurrentDocs()
number of current merging docsjava.lang.String
mergesCurrentSize()
size of current mergesjava.lang.String
mergesTotal()
number of completed merge opsjava.lang.String
mergesTotalDocs()
docs mergedjava.lang.String
mergesTotalSize()
size mergedjava.lang.String
mergesTotalTime()
time spent in mergesjava.lang.String
node()
name of node where it livesstatic ShardsRecord
of(java.util.function.Function<ShardsRecord.Builder,ObjectBuilder<ShardsRecord>> fn)
java.lang.String
pathData()
shard data pathjava.lang.String
pathState()
shard state pathjava.lang.String
prirep()
primary or replicajava.lang.String
queryCacheEvictions()
query cache evictionsjava.lang.String
queryCacheMemorySize()
used query cachejava.lang.String
recoverysourceType()
recovery source typejava.lang.String
refreshExternalTime()
time spent in external refreshesjava.lang.String
refreshExternalTotal()
total external refreshesjava.lang.String
refreshListeners()
number of pending refresh listenersjava.lang.String
refreshTime()
time spent in refreshesjava.lang.String
refreshTotal()
total refreshesjava.lang.String
searchFetchCurrent()
current fetch phase opsjava.lang.String
searchFetchTime()
time spent in fetch phasejava.lang.String
searchFetchTotal()
total fetch opsjava.lang.String
searchOpenContexts()
open search contextsjava.lang.String
searchQueryCurrent()
current query phase opsjava.lang.String
searchQueryTime()
time spent in query phasejava.lang.String
searchQueryTotal()
total query phase opsjava.lang.String
searchScrollCurrent()
open scroll contextsjava.lang.String
searchScrollTime()
time scroll contexts held openjava.lang.String
searchScrollTotal()
completed scroll contextsjava.lang.String
segmentsCount()
number of segmentsjava.lang.String
segmentsFixedBitsetMemory()
memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fieldsjava.lang.String
segmentsIndexWriterMemory()
memory used by index writerjava.lang.String
segmentsMemory()
memory used by segmentsjava.lang.String
segmentsVersionMapMemory()
memory used by version mapjava.lang.String
seqNoGlobalCheckpoint()
global checkpointjava.lang.String
seqNoLocalCheckpoint()
local checkpointjava.lang.String
seqNoMax()
max sequence numbervoid
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupShardsRecordDeserializer(ObjectDeserializer<ShardsRecord.Builder> op)
java.lang.String
shard()
shard namejava.lang.String
state()
shard statejava.lang.String
store()
store size of shard (how much disk it uses)java.lang.String
syncId()
sync idjava.lang.String
unassignedAt()
time shard became unassigned (UTC)java.lang.String
unassignedDetails()
additional details as to why the shard became unassignedjava.lang.String
unassignedFor()
time has been unassignedjava.lang.String
unassignedReason()
reason shard is unassignedjava.lang.String
warmerCurrent()
current warmer opsjava.lang.String
warmerTotal()
total warmer opsjava.lang.String
warmerTotalTime()
time spent in warmers-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ShardsRecord> _DESERIALIZER
Json deserializer forShardsRecord
-
-
Method Detail
-
of
public static ShardsRecord of(java.util.function.Function<ShardsRecord.Builder,ObjectBuilder<ShardsRecord>> fn)
-
index
@Nullable public final java.lang.String index()
index nameAPI name:
index
-
shard
@Nullable public final java.lang.String shard()
shard nameAPI name:
shard
-
prirep
@Nullable public final java.lang.String prirep()
primary or replicaAPI name:
prirep
-
state
@Nullable public final java.lang.String state()
shard stateAPI name:
state
-
docs
@Nullable public final java.lang.String docs()
number of docs in shardAPI name:
docs
-
store
@Nullable public final java.lang.String store()
store size of shard (how much disk it uses)API name:
store
-
ip
@Nullable public final java.lang.String ip()
ip of node where it livesAPI name:
ip
-
id
@Nullable public final java.lang.String id()
unique id of node where it livesAPI name:
id
-
node
@Nullable public final java.lang.String node()
name of node where it livesAPI name:
node
-
syncId
@Nullable public final java.lang.String syncId()
sync idAPI name:
sync_id
-
unassignedReason
@Nullable public final java.lang.String unassignedReason()
reason shard is unassignedAPI name:
unassigned.reason
-
unassignedAt
@Nullable public final java.lang.String unassignedAt()
time shard became unassigned (UTC)API name:
unassigned.at
-
unassignedFor
@Nullable public final java.lang.String unassignedFor()
time has been unassignedAPI name:
unassigned.for
-
unassignedDetails
@Nullable public final java.lang.String unassignedDetails()
additional details as to why the shard became unassignedAPI name:
unassigned.details
-
recoverysourceType
@Nullable public final java.lang.String recoverysourceType()
recovery source typeAPI name:
recoverysource.type
-
completionSize
@Nullable public final java.lang.String completionSize()
size of completionAPI name:
completion.size
-
fielddataMemorySize
@Nullable public final java.lang.String fielddataMemorySize()
used fielddata cacheAPI name:
fielddata.memory_size
-
fielddataEvictions
@Nullable public final java.lang.String fielddataEvictions()
fielddata evictionsAPI name:
fielddata.evictions
-
queryCacheMemorySize
@Nullable public final java.lang.String queryCacheMemorySize()
used query cacheAPI name:
query_cache.memory_size
-
queryCacheEvictions
@Nullable public final java.lang.String queryCacheEvictions()
query cache evictionsAPI name:
query_cache.evictions
-
flushTotal
@Nullable public final java.lang.String flushTotal()
number of flushesAPI name:
flush.total
-
flushTotalTime
@Nullable public final java.lang.String flushTotalTime()
time spent in flushAPI name:
flush.total_time
-
getCurrent
@Nullable public final java.lang.String getCurrent()
number of current get opsAPI name:
get.current
-
getTime
@Nullable public final java.lang.String getTime()
time spent in getAPI name:
get.time
-
getTotal
@Nullable public final java.lang.String getTotal()
number of get opsAPI name:
get.total
-
getExistsTime
@Nullable public final java.lang.String getExistsTime()
time spent in successful getsAPI name:
get.exists_time
-
getExistsTotal
@Nullable public final java.lang.String getExistsTotal()
number of successful getsAPI name:
get.exists_total
-
getMissingTime
@Nullable public final java.lang.String getMissingTime()
time spent in failed getsAPI name:
get.missing_time
-
getMissingTotal
@Nullable public final java.lang.String getMissingTotal()
number of failed getsAPI name:
get.missing_total
-
indexingDeleteCurrent
@Nullable public final java.lang.String indexingDeleteCurrent()
number of current deletionsAPI name:
indexing.delete_current
-
indexingDeleteTime
@Nullable public final java.lang.String indexingDeleteTime()
time spent in deletionsAPI name:
indexing.delete_time
-
indexingDeleteTotal
@Nullable public final java.lang.String indexingDeleteTotal()
number of delete opsAPI name:
indexing.delete_total
-
indexingIndexCurrent
@Nullable public final java.lang.String indexingIndexCurrent()
number of current indexing opsAPI name:
indexing.index_current
-
indexingIndexTime
@Nullable public final java.lang.String indexingIndexTime()
time spent in indexingAPI name:
indexing.index_time
-
indexingIndexTotal
@Nullable public final java.lang.String indexingIndexTotal()
number of indexing opsAPI name:
indexing.index_total
-
indexingIndexFailed
@Nullable public final java.lang.String indexingIndexFailed()
number of failed indexing opsAPI name:
indexing.index_failed
-
mergesCurrent
@Nullable public final java.lang.String mergesCurrent()
number of current mergesAPI name:
merges.current
-
mergesCurrentDocs
@Nullable public final java.lang.String mergesCurrentDocs()
number of current merging docsAPI name:
merges.current_docs
-
mergesCurrentSize
@Nullable public final java.lang.String mergesCurrentSize()
size of current mergesAPI name:
merges.current_size
-
mergesTotal
@Nullable public final java.lang.String mergesTotal()
number of completed merge opsAPI name:
merges.total
-
mergesTotalDocs
@Nullable public final java.lang.String mergesTotalDocs()
docs mergedAPI name:
merges.total_docs
-
mergesTotalSize
@Nullable public final java.lang.String mergesTotalSize()
size mergedAPI name:
merges.total_size
-
mergesTotalTime
@Nullable public final java.lang.String mergesTotalTime()
time spent in mergesAPI name:
merges.total_time
-
refreshTotal
@Nullable public final java.lang.String refreshTotal()
total refreshesAPI name:
refresh.total
-
refreshTime
@Nullable public final java.lang.String refreshTime()
time spent in refreshesAPI name:
refresh.time
-
refreshExternalTotal
@Nullable public final java.lang.String refreshExternalTotal()
total external refreshesAPI name:
refresh.external_total
-
refreshExternalTime
@Nullable public final java.lang.String refreshExternalTime()
time spent in external refreshesAPI name:
refresh.external_time
-
refreshListeners
@Nullable public final java.lang.String refreshListeners()
number of pending refresh listenersAPI name:
refresh.listeners
-
searchFetchCurrent
@Nullable public final java.lang.String searchFetchCurrent()
current fetch phase opsAPI name:
search.fetch_current
-
searchFetchTime
@Nullable public final java.lang.String searchFetchTime()
time spent in fetch phaseAPI name:
search.fetch_time
-
searchFetchTotal
@Nullable public final java.lang.String searchFetchTotal()
total fetch opsAPI name:
search.fetch_total
-
searchOpenContexts
@Nullable public final java.lang.String searchOpenContexts()
open search contextsAPI name:
search.open_contexts
-
searchQueryCurrent
@Nullable public final java.lang.String searchQueryCurrent()
current query phase opsAPI name:
search.query_current
-
searchQueryTime
@Nullable public final java.lang.String searchQueryTime()
time spent in query phaseAPI name:
search.query_time
-
searchQueryTotal
@Nullable public final java.lang.String searchQueryTotal()
total query phase opsAPI name:
search.query_total
-
searchScrollCurrent
@Nullable public final java.lang.String searchScrollCurrent()
open scroll contextsAPI name:
search.scroll_current
-
searchScrollTime
@Nullable public final java.lang.String searchScrollTime()
time scroll contexts held openAPI name:
search.scroll_time
-
searchScrollTotal
@Nullable public final java.lang.String searchScrollTotal()
completed scroll contextsAPI name:
search.scroll_total
-
segmentsCount
@Nullable public final java.lang.String segmentsCount()
number of segmentsAPI name:
segments.count
-
segmentsMemory
@Nullable public final java.lang.String segmentsMemory()
memory used by segmentsAPI name:
segments.memory
-
segmentsIndexWriterMemory
@Nullable public final java.lang.String segmentsIndexWriterMemory()
memory used by index writerAPI name:
segments.index_writer_memory
-
segmentsVersionMapMemory
@Nullable public final java.lang.String segmentsVersionMapMemory()
memory used by version mapAPI name:
segments.version_map_memory
-
segmentsFixedBitsetMemory
@Nullable public final java.lang.String segmentsFixedBitsetMemory()
memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fieldsAPI name:
segments.fixed_bitset_memory
-
seqNoMax
@Nullable public final java.lang.String seqNoMax()
max sequence numberAPI name:
seq_no.max
-
seqNoLocalCheckpoint
@Nullable public final java.lang.String seqNoLocalCheckpoint()
local checkpointAPI name:
seq_no.local_checkpoint
-
seqNoGlobalCheckpoint
@Nullable public final java.lang.String seqNoGlobalCheckpoint()
global checkpointAPI name:
seq_no.global_checkpoint
-
warmerCurrent
@Nullable public final java.lang.String warmerCurrent()
current warmer opsAPI name:
warmer.current
-
warmerTotal
@Nullable public final java.lang.String warmerTotal()
total warmer opsAPI name:
warmer.total
-
warmerTotalTime
@Nullable public final java.lang.String warmerTotalTime()
time spent in warmersAPI name:
warmer.total_time
-
pathData
@Nullable public final java.lang.String pathData()
shard data pathAPI name:
path.data
-
pathState
@Nullable public final java.lang.String pathState()
shard state pathAPI name:
path.state
-
bulkTotalOperations
@Nullable public final java.lang.String bulkTotalOperations()
number of bulk shard opsAPI name:
bulk.total_operations
-
bulkTotalTime
@Nullable public final java.lang.String bulkTotalTime()
time spend in shard bulkAPI name:
bulk.total_time
-
bulkTotalSizeInBytes
@Nullable public final java.lang.String bulkTotalSizeInBytes()
total size in bytes of shard bulkAPI name:
bulk.total_size_in_bytes
-
bulkAvgTime
@Nullable public final java.lang.String bulkAvgTime()
average time spend in shard bulkAPI name:
bulk.avg_time
-
bulkAvgSizeInBytes
@Nullable public final java.lang.String bulkAvgSizeInBytes()
avg size in bytes of shard bulkAPI name:
bulk.avg_size_in_bytes
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupShardsRecordDeserializer
protected static void setupShardsRecordDeserializer(ObjectDeserializer<ShardsRecord.Builder> op)
-
-