Class ecs_query_stats_t

java.lang.Object
com.github.elebras1.flecs.ecs_query_stats_t

public class ecs_query_stats_t extends Object
struct ecs_query_stats_t {
    int64_t first_;
    ecs_metric_t result_count;
    ecs_metric_t matched_table_count;
    ecs_metric_t matched_entity_count;
    int64_t last_;
    int32_t t;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • first_$layout

      public static final ValueLayout.OfLong first_$layout()
      Layout for field:
      int64_t first_
      
    • first_$offset

      public static final long first_$offset()
      Offset for field:
      int64_t first_
      
    • first_

      public static long first_(MemorySegment struct)
      Getter for field:
      int64_t first_
      
    • first_

      public static void first_(MemorySegment struct, long fieldValue)
      Setter for field:
      int64_t first_
      
    • result_count$layout

      public static final GroupLayout result_count$layout()
      Layout for field:
      ecs_metric_t result_count
      
    • result_count$offset

      public static final long result_count$offset()
      Offset for field:
      ecs_metric_t result_count
      
    • result_count

      public static MemorySegment result_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t result_count
      
    • result_count

      public static void result_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t result_count
      
    • matched_table_count$layout

      public static final GroupLayout matched_table_count$layout()
      Layout for field:
      ecs_metric_t matched_table_count
      
    • matched_table_count$offset

      public static final long matched_table_count$offset()
      Offset for field:
      ecs_metric_t matched_table_count
      
    • matched_table_count

      public static MemorySegment matched_table_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t matched_table_count
      
    • matched_table_count

      public static void matched_table_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t matched_table_count
      
    • matched_entity_count$layout

      public static final GroupLayout matched_entity_count$layout()
      Layout for field:
      ecs_metric_t matched_entity_count
      
    • matched_entity_count$offset

      public static final long matched_entity_count$offset()
      Offset for field:
      ecs_metric_t matched_entity_count
      
    • matched_entity_count

      public static MemorySegment matched_entity_count(MemorySegment struct)
      Getter for field:
      ecs_metric_t matched_entity_count
      
    • matched_entity_count

      public static void matched_entity_count(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      ecs_metric_t matched_entity_count
      
    • last_$layout

      public static final ValueLayout.OfLong last_$layout()
      Layout for field:
      int64_t last_
      
    • last_$offset

      public static final long last_$offset()
      Offset for field:
      int64_t last_
      
    • last_

      public static long last_(MemorySegment struct)
      Getter for field:
      int64_t last_
      
    • last_

      public static void last_(MemorySegment struct, long fieldValue)
      Setter for field:
      int64_t last_
      
    • t$layout

      public static final ValueLayout.OfInt t$layout()
      Layout for field:
      int32_t t
      
    • t$offset

      public static final long t$offset()
      Offset for field:
      int32_t t
      
    • t

      public static int t(MemorySegment struct)
      Getter for field:
      int32_t t
      
    • t

      public static void t(MemorySegment struct, int fieldValue)
      Setter for field:
      int32_t t
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()