Interface ToLongFunctor<T extends Any>

Type Parameters:
T - the chunk's attribute
All Superinterfaces:
AutoCloseable, io.deephaven.util.SafeCloseable
All Known Subinterfaces:
ToLongCast<T>
All Known Implementing Classes:
ByteToLongCast, ByteToLongCastWithOffset, CharToLongCast, CharToLongCastWithOffset, IntToLongCast, IntToLongCastWithOffset, LongToLongCast, LongToLongCastWithOffset, ShortToLongCast, ShortToLongCastWithOffset, ToLongFunctor.Identity

public interface ToLongFunctor<T extends Any> extends io.deephaven.util.SafeCloseable
A function that transforms a Chunk to an LongChunk.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(Chunk<T> input)
    Apply this function to the input chunk, returning an output chunk.
    default void
     
    static <T extends Any>
    ToLongFunctor.Identity<T>
     
  • Method Details

    • apply

      LongChunk<T> apply(Chunk<T> input)
      Apply this function to the input chunk, returning an output chunk. The result is owned by this ToLongFunctor.
      Parameters:
      input - the chunk to transform
      Returns:
      the result LongChunk
    • close

      default void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface io.deephaven.util.SafeCloseable
    • makeIdentity

      static <T extends Any> ToLongFunctor.Identity<T> makeIdentity()