Package com.illumon.iris.db.v2.hashing
Interface ToIntFunctor<T extends Attributes.Any>
- Type Parameters:
T
- the chunk's attribute
- All Superinterfaces:
AutoCloseable
,Context
,SafeCloseable
- All Known Subinterfaces:
ToIntegerCast<T>
- All Known Implementing Classes:
ByteToIntegerCast
,ByteToIntegerCastWithOffset
,CharToIntegerCast
,CharToIntegerCastWithOffset
,IntToIntegerCast
,IntToIntegerCastWithOffset
,LongToIntegerCast
,LongToIntegerCastWithOffset
,ShortToIntegerCast
,ShortToIntegerCastWithOffset
,ToIntFunctor.Identity
public interface ToIntFunctor<T extends Attributes.Any> extends Context
A function that transforms a Chunk to an IntChunk.
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ToIntFunctor.Identity<T extends Attributes.Any>
-
Method Summary
Modifier and Type Method Description IntChunk<? extends T>
apply(Chunk<? extends T> input)
Apply this function to the input chunk, returning an output chunk.static <T extends Attributes.Any>
ToIntFunctor.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 IntChunk
-
makeIdentity
-