Interface ColumnRegionFloat<ATTR extends Attributes.Values>

All Superinterfaces:
ChunkSource<ATTR>, ColumnRegion<ATTR>, FillContextMaker, GetContextMaker, Page<ATTR>, PagingChunkSource<ATTR>, Releasable
All Known Implementing Classes:
BufferedColumnRegionFloat, ColumnRegionFloat.Null, DeferredColumnRegionFloat, ParquetColumnRegionFloat, ParquetColumnRegionFloat.StaticPageStore

public interface ColumnRegionFloat<ATTR extends Attributes.Values> extends ColumnRegion<ATTR>
Column region interface for regions that support fetching primitive floats.
  • Method Details

    • getFloat

      float getFloat(long elementIndex)
      Get a single float from this region.
      Parameters:
      elementIndex - Element (float) index in the table's address space
      Returns:
      The float value at the specified element (float) index
    • getFloat

      default float getFloat(@NotNull ChunkSource.FillContext context, long elementIndex)
      Get a single float from this region.
      Parameters:
      context - A ColumnRegionFillContext to enable resource caching where suitable, with current region index pointing to this region
      elementIndex - Element (float) index in the table's address space
      Returns:
      The float value at the specified element (float) index
    • getNativeType

      default Class<?> getNativeType()
      Specified by:
      getNativeType in interface ChunkSource<ATTR extends Attributes.Values>
    • createNull

      static <ATTR extends Attributes.Values> ColumnRegionFloat.Null<ATTR> createNull()