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()
PredicateLeaf
getOperator
in interface PredicateLeaf
public PredicateLeaf.Type getType()
PredicateLeaf
getType
in interface PredicateLeaf
public String getColumnName()
PredicateLeaf
getColumnName
in interface PredicateLeaf
public Object getLiteral()
PredicateLeaf
getLiteral
in interface PredicateLeaf
public List<Object> getLiteralList()
PredicateLeaf
getLiteralList
in interface PredicateLeaf
public static void setColumnName(PredicateLeaf leaf, String newName)
Copyright © 2016 The Apache Software Foundation. All rights reserved.