Class TokenizerApplierCount
- java.lang.Object
-
- org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
-
- org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplierCount
-
- All Implemented Interfaces:
Serializable
public class TokenizerApplierCount extends TokenizerApplier
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description booleansort_alpha-
Fields inherited from class org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
PADDING_STRING
-
-
Constructor Summary
Constructors Constructor Description TokenizerApplierCount(int numIdCols, int maxTokens, boolean wideFormat, boolean applyPadding, org.apache.wink.json4j.JSONObject params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallocateInternalMeta(int numDocuments)intapplyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk)voidbuild(DocumentRepresentation[] internalRepresentation, int inputRowStart, int blk)intgetNumRows(DocumentRepresentation[] internalRepresentation)Types.ValueType[]getOutSchema()-
Methods inherited from class org.apache.sysds.runtime.transform.tokenize.applier.TokenizerApplier
applyInternalRepresentation, getApplyTasks, getBuildTasks, getMaxNumRows, getMaxTokens, getNumCols, getOutputRow, getOutputRow, hasPadding, isWideFormat
-
-
-
-
Method Detail
-
getNumRows
public int getNumRows(DocumentRepresentation[] internalRepresentation)
- Specified by:
getNumRowsin classTokenizerApplier
-
allocateInternalMeta
public void allocateInternalMeta(int numDocuments)
- Overrides:
allocateInternalMetain classTokenizerApplier
-
build
public void build(DocumentRepresentation[] internalRepresentation, int inputRowStart, int blk)
- Overrides:
buildin classTokenizerApplier
-
applyInternalRepresentation
public int applyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk)
-
getOutSchema
public Types.ValueType[] getOutSchema()
- Specified by:
getOutSchemain classTokenizerApplier
-
-