public class SelectAttributesFilter extends AbstractMultiLabelStreamFilter implements MultiLabelStreamFilter
Modifier and Type | Field and Description |
---|---|
protected InstancesHeader |
dataset |
protected Selection |
inputsSelected |
StringOption |
inputStringOption |
protected Selection |
outputsSelected |
StringOption |
outputStringOption |
inputStream
config
Constructor and Description |
---|
SelectAttributesFilter() |
Modifier and Type | Method and Description |
---|---|
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
InstancesHeader |
getHeader()
Gets the header of this stream.
|
String |
getPurposeString()
Dictionary with option texts and objects
|
InstanceExample |
nextInstance()
Gets the next example from this stream.
|
protected void |
restartImpl()
Restarts this filter.
|
estimatedRemainingInstances, hasMoreInstances, isRestartable, prepareForUseImpl, restart, setInputStream
copy, getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setInputStream
estimatedRemainingInstances, hasMoreInstances, isRestartable, restart
copy, measureByteSize
protected InstancesHeader dataset
protected Selection inputsSelected
protected Selection outputsSelected
public StringOption inputStringOption
public StringOption outputStringOption
public String getPurposeString()
AbstractOptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
public InstancesHeader getHeader()
ExampleStream
getHeader
in interface ExampleStream<Example<Instance>>
public InstanceExample nextInstance()
ExampleStream
nextInstance
in interface ExampleStream<Example<Instance>>
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.getDescription
in interface MOAObject
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentprotected void restartImpl()
AbstractMultiLabelStreamFilter
AbstractStreamFilter
must implement restartImpl
.
restart
uses restartImpl
in AbstractStreamFilter
.restartImpl
in class AbstractMultiLabelStreamFilter
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.