public abstract class AbstractTreeFeature extends AbstractProcessor implements TreeFeature
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
id |
(package private) String[] |
keys |
(package private) String |
missingValue |
context| Constructor and Description |
|---|
AbstractTreeFeature() |
| Modifier and Type | Method and Description |
|---|---|
abstract Serializable |
compute(TreeNode tree) |
String |
createFeatureKey(String inputKey) |
String |
getId() |
String[] |
getKeys() |
String |
getMissing() |
Data |
process(Data data) |
void |
processTree(String treeKey,
Data data) |
void |
setId(String id) |
void |
setKeys(String[] keys) |
void |
setMissing(String missingValue) |
finish, init, resetStatepublic Data process(Data data)
process in interface ProcessorDataProcessorpublic String getId()
public void setId(String id)
id - the id to setpublic String[] getKeys()
public void setKeys(String[] keys)
keys - the keys to setpublic String getMissing()
public void setMissing(String missingValue)
missingValue - the missingValue to setpublic String createFeatureKey(String inputKey)
createFeatureKey in interface TreeFeaturepublic abstract Serializable compute(TreeNode tree)
compute in interface TreeFeatureCopyright © 2018. All rights reserved.