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 boolean
sort_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 void
allocateInternalMeta(int numDocuments)
int
applyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk)
void
build(DocumentRepresentation[] internalRepresentation, int inputRowStart, int blk)
int
getNumRows(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:
getNumRows
in classTokenizerApplier
-
allocateInternalMeta
public void allocateInternalMeta(int numDocuments)
- Overrides:
allocateInternalMeta
in classTokenizerApplier
-
build
public void build(DocumentRepresentation[] internalRepresentation, int inputRowStart, int blk)
- Overrides:
build
in classTokenizerApplier
-
applyInternalRepresentation
public int applyInternalRepresentation(DocumentRepresentation[] internalRepresentation, FrameBlock out, int inputRowStart, int blk)
-
getOutSchema
public Types.ValueType[] getOutSchema()
- Specified by:
getOutSchema
in classTokenizerApplier
-
-