Interface FillUnordered<ATTR extends Any>

All Known Subinterfaces:
RowKeyAgnosticChunkSource<ATTR>, RowRedirection, WritableRowRedirection
All Known Implementing Classes:
AlternatingColumnSource, ArrayBackedColumnSource, BooleanArraySource, BooleanSingleValueSource, BooleanSparseArraySource, BooleanSparseArraySource.ReinterpretedAsByte, ByteArraySource, ByteAsBooleanColumnSource, ByteSingleValueSource, ByteSparseArraySource, CharacterArraySource, CharacterSingleValueSource, CharacterSparseArraySource, ContiguousWritableRowRedirection, DoubleArraySource, DoubleSingleValueSource, DoubleSparseArraySource, FloatArraySource, FloatSingleValueSource, FloatSparseArraySource, GroupedWritableRowRedirection, Immutable2DByteArraySource, Immutable2DCharArraySource, Immutable2DDoubleArraySource, Immutable2DFloatArraySource, Immutable2DInstantArraySource, Immutable2DIntArraySource, Immutable2DLongArraySource, Immutable2DNanosBasedTimeArraySource, Immutable2DObjectArraySource, Immutable2DShortArraySource, Immutable2DZonedDateTimeArraySource, ImmutableByteArraySource, ImmutableCharArraySource, ImmutableConstantByteSource, ImmutableConstantCharSource, ImmutableConstantDoubleSource, ImmutableConstantFloatSource, ImmutableConstantInstantSource, ImmutableConstantIntSource, ImmutableConstantLongSource, ImmutableConstantNanosBasedTimeSource, ImmutableConstantObjectSource, ImmutableConstantShortSource, ImmutableConstantZonedDateTimeSource, ImmutableDoubleArraySource, ImmutableFloatArraySource, ImmutableInstantArraySource, ImmutableIntArraySource, ImmutableLongArraySource, ImmutableNanosBasedTimeArraySource, ImmutableObjectArraySource, ImmutableShortArraySource, ImmutableZonedDateTimeArraySource, InstantArraySource, InstantSparseArraySource, IntColumnSourceRowRedirection, IntColumnSourceWritableRowRedirection, IntegerArraySource, IntegerSingleValueSource, IntegerSparseArraySource, InverseWrappedRowSetRowRedirection, LongArraySource, LongColumnSourceRowRedirection, LongColumnSourceWritableRowRedirection, LongSingleValueSource, LongSparseArraySource, NanosBasedTimeArraySource, NanosBasedTimeSparseArraySource, NullValueColumnSource, ObjectArraySource, ObjectSingleValueSource, ObjectSparseArraySource, RowKeyColumnSource, ShortArraySource, ShortSingleValueSource, ShortSparseArraySource, SingleValueColumnSource, SingleValueRowRedirection, SparseArrayColumnSource, WrappedRowSetRowRedirection, WritableByteAsBooleanColumnSource, WritableRowRedirectionLockFree, WritableSingleValueRowRedirection, ZonedDateTimeArraySource, ZonedDateTimeSparseArraySource

public interface FillUnordered<ATTR extends Any>
  • Method Details

    • fillChunkUnordered

      void fillChunkUnordered(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> dest, @NotNull @NotNull LongChunk<? extends RowKeys> keys)
      Populates a contiguous portion of the given destination chunk with data corresponding to the keys from the given LongChunk.

      It behaves as if the following code were executed:

       destination.setSize(keys.size());
       for (int ii = 0; ii < keys.size(); ++ii) {
           destination.set(ii, get(keys.get(ii)));
       }
       
      Parameters:
      context - A context containing all mutable/state related data used in retrieving the Chunk.
      dest - The chunk to be populated according to keys
      keys - A chunk of individual, not assumed to be ordered keys to be fetched
    • fillPrevChunkUnordered

      void fillPrevChunkUnordered(@NotNull ChunkSource.FillContext context, @NotNull @NotNull WritableChunk<? super ATTR> dest, @NotNull @NotNull LongChunk<? extends RowKeys> keys)
      Populates a contiguous portion of the given destination chunk with prev data corresponding to the keys from the given LongChunk.

      It behaves as if the following code were executed:

       destination.setSize(keys.size());
       for (int ii = 0; ii < keys.size(); ++ii) {
           destination.set(ii, getPrev(keys.get(ii)));
       }
       
      Parameters:
      context - A context containing all mutable/state related data used in retrieving the Chunk.
      dest - The chunk to be populated according to keys
      keys - A chunk of individual, not assumed to be ordered keys to be fetched
    • providesFillUnordered

      boolean providesFillUnordered()
      Returns true if this column source can efficiently provide an unordered fill. If this method returns false, then fillChunkUnordered and fillPrevChunkUnordered may throw an UnsupportedOperationException.
      Returns:
      if this column source can provide an unordered fill
    • providesFillUnordered

      static boolean providesFillUnordered(ChunkSource<?> chunkSource)