Class TupleSetKernelFactory
java.lang.Object
io.deephaven.engine.table.impl.select.TupleSetKernelFactory
Generates the
TupleMapSetKernel subclass for a compound key's column types. The subclasses for two columns
are generated ahead of time by ReplicateTupleSetKernels; those for more columns are generated and compiled
when first needed.
Two and three columns make the typed tuples of io.deephaven.tuple.generated, whose elements a probe is
compared with directly; more columns make an ArrayTuple of boxed values, which are unboxed to be compared.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
PACKAGE_NAME
- See Also:
-
-
Method Details
-
className
- Parameters:
chunkTypes- The key's column chunk types, none of themChunkType.Boolean- Returns:
- The name of the kernel class for
chunkTypes
-
generate
public static com.palantir.javapoet.JavaFile generate(@NotNull @NotNull ChunkType[] chunkTypes, @NotNull @NotNull String className, boolean nullityAnnotations) Generate the kernel class forchunkTypes.- Parameters:
chunkTypes- The key's column chunk types, at least two and none of themChunkType.BooleanclassName- The class name, fromclassName(ChunkType[])nullityAnnotations- Whether to annotate the parameters of the overriding methods withNotNullandNullable; the annotations are not on the classpath of a kernel compiled when needed- Returns:
- The generated source
-