Class TokenizerApplierPosition
java.lang.Object
org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplierPosition
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
PADDING_STRING -
Constructor Summary
ConstructorsConstructorDescriptionTokenizerApplierPosition(int numIdCols, int maxTokens, boolean wideFormat, boolean applyPadding) -
Method Summary
Modifier and TypeMethodDescriptionintappendTokensLong(int row, List<Object> keys, List<Token> tokenList, FrameBlock out) intappendTokensWide(int row, List<Object> keys, List<Token> tokenList, FrameBlock out) intapplyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk) intgetNumRows(DocumentRepresentation[] internalRepresentation) Methods inherited from class org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
allocateInternalMeta, applyInternalRepresentation, build, getApplyTasks, getBuildTasks, getMaxNumRows, getMaxTokens, getNumCols, getOutputRow, getOutputRow, hasPadding, isWideFormat
-
Constructor Details
-
TokenizerApplierPosition
public TokenizerApplierPosition(int numIdCols, int maxTokens, boolean wideFormat, boolean applyPadding)
-
-
Method Details
-
getNumRows
- Specified by:
getNumRowsin classTokenizerApplier
-
applyInternalRepresentation
public int applyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk) -
appendTokensLong
-
appendTokensWide
-
getOutSchema
- Specified by:
getOutSchemain classTokenizerApplier
-