Package com.illumon.iris.db.v2.hashing
Interface ToLongFunctor<T extends Attributes.Any>
- Type Parameters:
T
- the chunk's attribute
- All Superinterfaces:
AutoCloseable
,Context
,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 Attributes.Any> extends Context
A function that transforms a Chunk to an LongChunk.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ToLongFunctor.Identity<T extends Attributes.Any>
-
Method Summary
Modifier and Type Method Description LongChunk<T>
apply(Chunk<T> input)
Apply this function to the input chunk, returning an output chunk.static <T extends Attributes.Any>
ToLongFunctor.Identity<T>makeIdentity()
-
Method Details
-
apply
Apply this function to the input chunk, returning an output chunk. The result is owned by thisContext
.- Parameters:
input
- the chunk to transform- Returns:
- the result LongChunk
-
makeIdentity
-