Package org.datavec.api.transform.filter
Interface Filter
-
- All Superinterfaces:
ColumnOp
,Operation<Schema,Schema>
,Serializable
- All Known Implementing Classes:
BaseColumnFilter
,ConditionFilter
,FilterInvalidValues
,InvalidNumColumns
public interface Filter extends Serializable, ColumnOp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schema
getInputSchema()
Getter for input schemaboolean
removeExample(Object example)
boolean
removeExample(List<Writable> writables)
boolean
removeSequence(Object sequence)
boolean
removeSequence(List<List<Writable>> sequence)
void
setInputSchema(Schema schema)
Set the input schema.-
Methods inherited from interface org.datavec.api.transform.ColumnOp
columnName, columnNames, outputColumnName, outputColumnNames
-
-
-
-
Method Detail
-
removeExample
boolean removeExample(Object example)
- Parameters:
example
- Example- Returns:
- true if example should be removed, false to keep
-
removeSequence
boolean removeSequence(Object sequence)
- Parameters:
sequence
- sequence example- Returns:
- true if example should be removed, false to keep
-
removeExample
boolean removeExample(List<Writable> writables)
- Parameters:
writables
- Example- Returns:
- true if example should be removed, false to keep
-
removeSequence
boolean removeSequence(List<List<Writable>> sequence)
- Parameters:
sequence
- sequence example- Returns:
- true if example should be removed, false to keep
-
setInputSchema
void setInputSchema(Schema schema)
Description copied from interface:ColumnOp
Set the input schema.- Specified by:
setInputSchema
in interfaceColumnOp
- Parameters:
schema
-
-
getInputSchema
Schema getInputSchema()
Description copied from interface:ColumnOp
Getter for input schema- Specified by:
getInputSchema
in interfaceColumnOp
- Returns:
-
-