public class Clause extends Object implements MapWriter, Comparable<Clause>
MapWriter.EntryWriter| Modifier and Type | Field and Description |
|---|---|
static String |
METRICS_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Clause that) |
boolean |
doesOverride(Clause that) |
boolean |
equals(Object o) |
boolean |
isPerCollectiontag() |
boolean |
isStrict() |
static Double |
parseDouble(String name,
Object val) |
static Long |
parseLong(String name,
Object val) |
static String |
parseString(Object val) |
List<Violation> |
test(List<Row> allRows) |
String |
toString() |
static Object |
validate(String name,
Object val,
boolean isRuleVal) |
void |
writeMap(MapWriter.EntryWriter ew) |
public static final String METRICS_PREFIX
public boolean doesOverride(Clause that)
public boolean isPerCollectiontag()
public int compareTo(Clause that)
compareTo in interface Comparable<Clause>public boolean isStrict()
public void writeMap(MapWriter.EntryWriter ew) throws IOException
writeMap in interface MapWriterIOExceptionpublic static Object validate(String name, Object val, boolean isRuleVal)
name - name of the conditionval - value of the conditionisRuleVal - is this provided in the ruleCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.