public class ColumnEncoderPassThrough extends ColumnEncoder
Modifier and Type | Class and Description |
---|---|
static class |
ColumnEncoderPassThrough.PassThroughSparseApplyTask |
ColumnEncoder.EncoderType
BUILD_ROW_BLOCKS_PER_COLUMN
Constructor and Description |
---|
ColumnEncoderPassThrough() |
Modifier and Type | Method and Description |
---|---|
void |
build(CacheBlock in)
Build the transform meta data for the given block input.
|
List<DependencyTask<?>> |
getBuildTasks(CacheBlock in) |
FrameBlock |
getMetaData(FrameBlock meta)
Construct a frame block out of the transform meta data.
|
void |
initMetaData(FrameBlock meta)
Sets up the required meta data for a subsequent call to apply.
|
void |
mergeAt(ColumnEncoder other)
Merges another encoder, of a compatible type, in after a certain position.
|
apply, apply, buildPartial, compareTo, getApplyTasks, getBuildTask, getColID, getColMapping, getPartialBuildTask, getPartialMergeBuildTask, getSparseRowsWZeros, isApplicable, isApplicable, prepareBuildPartial, readExternal, setColID, shiftCol, updateIndexRanges, writeExternal
public void build(CacheBlock in)
Encoder
in
- input frame blockpublic List<DependencyTask<?>> getBuildTasks(CacheBlock in)
getBuildTasks
in class ColumnEncoder
public void mergeAt(ColumnEncoder other)
ColumnEncoder
ColumnEncoders
are compatible with themselves and EncoderComposite
is compatible with
every other ColumnEncoders
. MultiColumnEncoders
are compatible with every encodermergeAt
in class ColumnEncoder
other
- the encoder that should be merged inpublic FrameBlock getMetaData(FrameBlock meta)
Encoder
meta
- output frame blockpublic void initMetaData(FrameBlock meta)
Encoder
meta
- frame blockCopyright © 2021 The Apache Software Foundation. All rights reserved.