Class ShardsRecord

java.lang.Object
org.opensearch.client.opensearch.cat.shards.ShardsRecord
All Implemented Interfaces:
ToJsonp

public final class ShardsRecord
extends java.lang.Object
implements ToJsonp
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  ShardsRecord.Builder
    Builder for ShardsRecord.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static JsonpDeserializer<ShardsRecord> DESERIALIZER
    Json deserializer for ShardsRecord
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected ShardsRecord​(ShardsRecord.Builder builder)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String bulk_avgSizeInBytes()
    avg size in bytes of shard bulk API name: bulk.avg_size_in_bytes
    java.lang.String bulk_avgTime()
    average time spend in shard bulk API name: bulk.avg_time
    java.lang.String bulk_totalOperations()
    number of bulk shard ops API name: bulk.total_operations
    java.lang.String bulk_totalSizeInBytes()
    total size in bytes of shard bulk API name: bulk.total_size_in_bytes
    java.lang.String bulk_totalTime()
    time spend in shard bulk API name: bulk.total_time
    java.lang.String completion_size()
    size of completion API name: completion.size
    java.lang.String docs()
    number of docs in shard API name: docs
    java.lang.String fielddata_evictions()
    fielddata evictions API name: fielddata.evictions
    java.lang.String fielddata_memorySize()
    used fielddata cache API name: fielddata.memory_size
    java.lang.String flush_total()
    number of flushes API name: flush.total
    java.lang.String flush_totalTime()
    time spent in flush API name: flush.total_time
    java.lang.String get_current()
    number of current get ops API name: get.current
    java.lang.String get_existsTime()
    time spent in successful gets API name: get.exists_time
    java.lang.String get_existsTotal()
    number of successful gets API name: get.exists_total
    java.lang.String get_missingTime()
    time spent in failed gets API name: get.missing_time
    java.lang.String get_missingTotal()
    number of failed gets API name: get.missing_total
    java.lang.String get_time()
    time spent in get API name: get.time
    java.lang.String get_total()
    number of get ops API name: get.total
    java.lang.String id()
    unique id of node where it lives API name: id
    java.lang.String index()
    index name API name: index
    java.lang.String indexing_deleteCurrent()
    number of current deletions API name: indexing.delete_current
    java.lang.String indexing_deleteTime()
    time spent in deletions API name: indexing.delete_time
    java.lang.String indexing_deleteTotal()
    number of delete ops API name: indexing.delete_total
    java.lang.String indexing_indexCurrent()
    number of current indexing ops API name: indexing.index_current
    java.lang.String indexing_indexFailed()
    number of failed indexing ops API name: indexing.index_failed
    java.lang.String indexing_indexTime()
    time spent in indexing API name: indexing.index_time
    java.lang.String indexing_indexTotal()
    number of indexing ops API name: indexing.index_total
    java.lang.String ip()
    ip of node where it lives API name: ip
    java.lang.String merges_current()
    number of current merges API name: merges.current
    java.lang.String merges_currentDocs()
    number of current merging docs API name: merges.current_docs
    java.lang.String merges_currentSize()
    size of current merges API name: merges.current_size
    java.lang.String merges_total()
    number of completed merge ops API name: merges.total
    java.lang.String merges_totalDocs()
    docs merged API name: merges.total_docs
    java.lang.String merges_totalSize()
    size merged API name: merges.total_size
    java.lang.String merges_totalTime()
    time spent in merges API name: merges.total_time
    java.lang.String node()
    name of node where it lives API name: node
    java.lang.String path_data()
    shard data path API name: path.data
    java.lang.String path_state()
    shard state path API name: path.state
    java.lang.String prirep()
    primary or replica API name: prirep
    java.lang.String queryCache_evictions()
    query cache evictions API name: query_cache.evictions
    java.lang.String queryCache_memorySize()
    used query cache API name: query_cache.memory_size
    java.lang.String recoverysource_type()
    recovery source type API name: recoverysource.type
    java.lang.String refresh_externalTime()
    time spent in external refreshes API name: refresh.external_time
    java.lang.String refresh_externalTotal()
    total external refreshes API name: refresh.external_total
    java.lang.String refresh_listeners()
    number of pending refresh listeners API name: refresh.listeners
    java.lang.String refresh_time()
    time spent in refreshes API name: refresh.time
    java.lang.String refresh_total()
    total refreshes API name: refresh.total
    java.lang.String search_fetchCurrent()
    current fetch phase ops API name: search.fetch_current
    java.lang.String search_fetchTime()
    time spent in fetch phase API name: search.fetch_time
    java.lang.String search_fetchTotal()
    total fetch ops API name: search.fetch_total
    java.lang.String search_openContexts()
    open search contexts API name: search.open_contexts
    java.lang.String search_queryCurrent()
    current query phase ops API name: search.query_current
    java.lang.String search_queryTime()
    time spent in query phase API name: search.query_time
    java.lang.String search_queryTotal()
    total query phase ops API name: search.query_total
    java.lang.String search_scrollCurrent()
    open scroll contexts API name: search.scroll_current
    java.lang.String search_scrollTime()
    time scroll contexts held open API name: search.scroll_time
    java.lang.String search_scrollTotal()
    completed scroll contexts API name: search.scroll_total
    java.lang.String segments_count()
    number of segments API name: segments.count
    java.lang.String segments_fixedBitsetMemory()
    memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields API name: segments.fixed_bitset_memory
    java.lang.String segments_indexWriterMemory()
    memory used by index writer API name: segments.index_writer_memory
    java.lang.String segments_memory()
    memory used by segments API name: segments.memory
    java.lang.String segments_versionMapMemory()
    memory used by version map API name: segments.version_map_memory
    java.lang.String seqNo_globalCheckpoint()
    global checkpoint API name: seq_no.global_checkpoint
    java.lang.String seqNo_localCheckpoint()
    local checkpoint API name: seq_no.local_checkpoint
    java.lang.String seqNo_max()
    max sequence number API name: seq_no.max
    protected static void setupShardsRecordDeserializer​(DelegatingDeserializer<ShardsRecord.Builder> op)  
    java.lang.String shard()
    shard name API name: shard
    java.lang.String state()
    shard state API name: state
    java.lang.String store()
    store size of shard (how much disk it uses) API name: store
    java.lang.String syncId()
    sync id API name: sync_id
    void toJsonp​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    Serialize this object to JSON.
    protected void toJsonpInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)  
    java.lang.String unassigned_at()
    time shard became unassigned (UTC) API name: unassigned.at
    java.lang.String unassigned_details()
    additional details as to why the shard became unassigned API name: unassigned.details
    java.lang.String unassigned_for()
    time has been unassigned API name: unassigned.for
    java.lang.String unassigned_reason()
    reason shard is unassigned API name: unassigned.reason
    java.lang.String warmer_current()
    current warmer ops API name: warmer.current
    java.lang.String warmer_total()
    total warmer ops API name: warmer.total
    java.lang.String warmer_totalTime()
    time spent in warmers API name: warmer.total_time

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • index

      @Nullable public java.lang.String index()
      index name API name: index
    • shard

      @Nullable public java.lang.String shard()
      shard name API name: shard
    • prirep

      @Nullable public java.lang.String prirep()
      primary or replica API name: prirep
    • state

      @Nullable public java.lang.String state()
      shard state API name: state
    • docs

      @Nullable public java.lang.String docs()
      number of docs in shard API name: docs
    • store

      @Nullable public java.lang.String store()
      store size of shard (how much disk it uses) API name: store
    • ip

      @Nullable public java.lang.String ip()
      ip of node where it lives API name: ip
    • id

      @Nullable public java.lang.String id()
      unique id of node where it lives API name: id
    • node

      @Nullable public java.lang.String node()
      name of node where it lives API name: node
    • syncId

      @Nullable public java.lang.String syncId()
      sync id API name: sync_id
    • unassigned_reason

      @Nullable public java.lang.String unassigned_reason()
      reason shard is unassigned API name: unassigned.reason
    • unassigned_at

      @Nullable public java.lang.String unassigned_at()
      time shard became unassigned (UTC) API name: unassigned.at
    • unassigned_for

      @Nullable public java.lang.String unassigned_for()
      time has been unassigned API name: unassigned.for
    • unassigned_details

      @Nullable public java.lang.String unassigned_details()
      additional details as to why the shard became unassigned API name: unassigned.details
    • recoverysource_type

      @Nullable public java.lang.String recoverysource_type()
      recovery source type API name: recoverysource.type
    • completion_size

      @Nullable public java.lang.String completion_size()
      size of completion API name: completion.size
    • fielddata_memorySize

      @Nullable public java.lang.String fielddata_memorySize()
      used fielddata cache API name: fielddata.memory_size
    • fielddata_evictions

      @Nullable public java.lang.String fielddata_evictions()
      fielddata evictions API name: fielddata.evictions
    • queryCache_memorySize

      @Nullable public java.lang.String queryCache_memorySize()
      used query cache API name: query_cache.memory_size
    • queryCache_evictions

      @Nullable public java.lang.String queryCache_evictions()
      query cache evictions API name: query_cache.evictions
    • flush_total

      @Nullable public java.lang.String flush_total()
      number of flushes API name: flush.total
    • flush_totalTime

      @Nullable public java.lang.String flush_totalTime()
      time spent in flush API name: flush.total_time
    • get_current

      @Nullable public java.lang.String get_current()
      number of current get ops API name: get.current
    • get_time

      @Nullable public java.lang.String get_time()
      time spent in get API name: get.time
    • get_total

      @Nullable public java.lang.String get_total()
      number of get ops API name: get.total
    • get_existsTime

      @Nullable public java.lang.String get_existsTime()
      time spent in successful gets API name: get.exists_time
    • get_existsTotal

      @Nullable public java.lang.String get_existsTotal()
      number of successful gets API name: get.exists_total
    • get_missingTime

      @Nullable public java.lang.String get_missingTime()
      time spent in failed gets API name: get.missing_time
    • get_missingTotal

      @Nullable public java.lang.String get_missingTotal()
      number of failed gets API name: get.missing_total
    • indexing_deleteCurrent

      @Nullable public java.lang.String indexing_deleteCurrent()
      number of current deletions API name: indexing.delete_current
    • indexing_deleteTime

      @Nullable public java.lang.String indexing_deleteTime()
      time spent in deletions API name: indexing.delete_time
    • indexing_deleteTotal

      @Nullable public java.lang.String indexing_deleteTotal()
      number of delete ops API name: indexing.delete_total
    • indexing_indexCurrent

      @Nullable public java.lang.String indexing_indexCurrent()
      number of current indexing ops API name: indexing.index_current
    • indexing_indexTime

      @Nullable public java.lang.String indexing_indexTime()
      time spent in indexing API name: indexing.index_time
    • indexing_indexTotal

      @Nullable public java.lang.String indexing_indexTotal()
      number of indexing ops API name: indexing.index_total
    • indexing_indexFailed

      @Nullable public java.lang.String indexing_indexFailed()
      number of failed indexing ops API name: indexing.index_failed
    • merges_current

      @Nullable public java.lang.String merges_current()
      number of current merges API name: merges.current
    • merges_currentDocs

      @Nullable public java.lang.String merges_currentDocs()
      number of current merging docs API name: merges.current_docs
    • merges_currentSize

      @Nullable public java.lang.String merges_currentSize()
      size of current merges API name: merges.current_size
    • merges_total

      @Nullable public java.lang.String merges_total()
      number of completed merge ops API name: merges.total
    • merges_totalDocs

      @Nullable public java.lang.String merges_totalDocs()
      docs merged API name: merges.total_docs
    • merges_totalSize

      @Nullable public java.lang.String merges_totalSize()
      size merged API name: merges.total_size
    • merges_totalTime

      @Nullable public java.lang.String merges_totalTime()
      time spent in merges API name: merges.total_time
    • refresh_total

      @Nullable public java.lang.String refresh_total()
      total refreshes API name: refresh.total
    • refresh_time

      @Nullable public java.lang.String refresh_time()
      time spent in refreshes API name: refresh.time
    • refresh_externalTotal

      @Nullable public java.lang.String refresh_externalTotal()
      total external refreshes API name: refresh.external_total
    • refresh_externalTime

      @Nullable public java.lang.String refresh_externalTime()
      time spent in external refreshes API name: refresh.external_time
    • refresh_listeners

      @Nullable public java.lang.String refresh_listeners()
      number of pending refresh listeners API name: refresh.listeners
    • search_fetchCurrent

      @Nullable public java.lang.String search_fetchCurrent()
      current fetch phase ops API name: search.fetch_current
    • search_fetchTime

      @Nullable public java.lang.String search_fetchTime()
      time spent in fetch phase API name: search.fetch_time
    • search_fetchTotal

      @Nullable public java.lang.String search_fetchTotal()
      total fetch ops API name: search.fetch_total
    • search_openContexts

      @Nullable public java.lang.String search_openContexts()
      open search contexts API name: search.open_contexts
    • search_queryCurrent

      @Nullable public java.lang.String search_queryCurrent()
      current query phase ops API name: search.query_current
    • search_queryTime

      @Nullable public java.lang.String search_queryTime()
      time spent in query phase API name: search.query_time
    • search_queryTotal

      @Nullable public java.lang.String search_queryTotal()
      total query phase ops API name: search.query_total
    • search_scrollCurrent

      @Nullable public java.lang.String search_scrollCurrent()
      open scroll contexts API name: search.scroll_current
    • search_scrollTime

      @Nullable public java.lang.String search_scrollTime()
      time scroll contexts held open API name: search.scroll_time
    • search_scrollTotal

      @Nullable public java.lang.String search_scrollTotal()
      completed scroll contexts API name: search.scroll_total
    • segments_count

      @Nullable public java.lang.String segments_count()
      number of segments API name: segments.count
    • segments_memory

      @Nullable public java.lang.String segments_memory()
      memory used by segments API name: segments.memory
    • segments_indexWriterMemory

      @Nullable public java.lang.String segments_indexWriterMemory()
      memory used by index writer API name: segments.index_writer_memory
    • segments_versionMapMemory

      @Nullable public java.lang.String segments_versionMapMemory()
      memory used by version map API name: segments.version_map_memory
    • segments_fixedBitsetMemory

      @Nullable public java.lang.String segments_fixedBitsetMemory()
      memory used by fixed bit sets for nested object field types and export type filters for types referred in _parent fields API name: segments.fixed_bitset_memory
    • seqNo_max

      @Nullable public java.lang.String seqNo_max()
      max sequence number API name: seq_no.max
    • seqNo_localCheckpoint

      @Nullable public java.lang.String seqNo_localCheckpoint()
      local checkpoint API name: seq_no.local_checkpoint
    • seqNo_globalCheckpoint

      @Nullable public java.lang.String seqNo_globalCheckpoint()
      global checkpoint API name: seq_no.global_checkpoint
    • warmer_current

      @Nullable public java.lang.String warmer_current()
      current warmer ops API name: warmer.current
    • warmer_total

      @Nullable public java.lang.String warmer_total()
      total warmer ops API name: warmer.total
    • warmer_totalTime

      @Nullable public java.lang.String warmer_totalTime()
      time spent in warmers API name: warmer.total_time
    • path_data

      @Nullable public java.lang.String path_data()
      shard data path API name: path.data
    • path_state

      @Nullable public java.lang.String path_state()
      shard state path API name: path.state
    • bulk_totalOperations

      @Nullable public java.lang.String bulk_totalOperations()
      number of bulk shard ops API name: bulk.total_operations
    • bulk_totalTime

      @Nullable public java.lang.String bulk_totalTime()
      time spend in shard bulk API name: bulk.total_time
    • bulk_totalSizeInBytes

      @Nullable public java.lang.String bulk_totalSizeInBytes()
      total size in bytes of shard bulk API name: bulk.total_size_in_bytes
    • bulk_avgTime

      @Nullable public java.lang.String bulk_avgTime()
      average time spend in shard bulk API name: bulk.avg_time
    • bulk_avgSizeInBytes

      @Nullable public java.lang.String bulk_avgSizeInBytes()
      avg size in bytes of shard bulk API name: bulk.avg_size_in_bytes
    • toJsonp

      public void toJsonp​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      toJsonp in interface ToJsonp
    • toJsonpInternal

      protected void toJsonpInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupShardsRecordDeserializer

      protected static void setupShardsRecordDeserializer​(DelegatingDeserializer<ShardsRecord.Builder> op)