public static final class SearchArgumentImpl.PredicateLeafImpl extends Object implements PredicateLeaf
PredicateLeaf.Operator, PredicateLeaf.Type| Constructor and Description |
|---|
PredicateLeafImpl(PredicateLeaf.Operator operator,
PredicateLeaf.Type type,
String columnName,
Object literal,
List<Object> literalList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getColumnName()
Get the simple column name.
|
Object |
getLiteral()
Get the literal half of the predicate leaf.
|
List<Object> |
getLiteralList()
For operators with multiple literals (IN and BETWEEN), get the literals.
|
PredicateLeaf.Operator |
getOperator()
Get the operator for the leaf.
|
PredicateLeaf.Type |
getType()
Get the type of the column and literal by the file format.
|
int |
hashCode() |
static void |
setColumnName(PredicateLeaf leaf,
String newName) |
String |
toString() |
public PredicateLeafImpl(PredicateLeaf.Operator operator, PredicateLeaf.Type type, String columnName, Object literal, List<Object> literalList)
public PredicateLeaf.Operator getOperator()
PredicateLeafgetOperator in interface PredicateLeafpublic PredicateLeaf.Type getType()
PredicateLeafgetType in interface PredicateLeafpublic String getColumnName()
PredicateLeafgetColumnName in interface PredicateLeafpublic Object getLiteral()
PredicateLeafgetLiteral in interface PredicateLeafpublic List<Object> getLiteralList()
PredicateLeafgetLiteralList in interface PredicateLeafpublic static void setColumnName(PredicateLeaf leaf, String newName)
Copyright © 2016 The Apache Software Foundation. All rights reserved.