Interface MakeRegion<ATTR extends Attributes.Values,​REGION_TYPE extends ColumnRegion<ATTR>>

All Known Implementing Classes:
RegionedColumnSourceObject, RegionedColumnSourceObject.AsValues, RegionedColumnSourceObjectWithDictionary
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface MakeRegion<ATTR extends Attributes.Values,​REGION_TYPE extends ColumnRegion<ATTR>>
  • Method Summary

    Modifier and Type Method Description
    REGION_TYPE makeRegion​(com.illumon.dataobjects.ColumnDefinition<?> columnDefinition, ColumnLocation<?> columnLocation, int regionIndex)
    Get a new or re-usable column region appropriate for this source.
  • Method Details

    • makeRegion

      @Nullable REGION_TYPE makeRegion​(@NotNull com.illumon.dataobjects.ColumnDefinition<?> columnDefinition, @NotNull ColumnLocation<?> columnLocation, int regionIndex)
      Get a new or re-usable column region appropriate for this source.
      Parameters:
      columnDefinition - The ColumnDefinition
      columnLocation - The ColumnLocation
      regionIndex - The index of the region to add.
      Returns:
      A new or re-usable column region appropriate for this source and the supplied parameters. A null value may be returned, which should be interpreted to mean use a special null column, which has size() 0 and is full of the appropriate "null" value for the column's type.