public interface Condition extends Serializable
Modifier and Type | Method and Description |
---|---|
boolean |
condition(List<Writable> list)
Is the condition satisfied for the current input/example?
Returns true if condition is satisfied, or false otherwise. |
boolean |
conditionSequence(List<List<Writable>> sequence)
Is the condition satisfied for the current input/sequence?
Returns true if condition is satisfied, or false otherwise. |
Schema |
getInputSchema() |
void |
setInputSchema(Schema schema) |
boolean condition(List<Writable> list)
list
- Current exampleboolean conditionSequence(List<List<Writable>> sequence)
sequence
- Current sequencevoid setInputSchema(Schema schema)
Schema getInputSchema()
Copyright © 2016. All rights reserved.