public class OperatorTypeImpl extends Object implements OperatorType
OperatorTypeBUILT_IN_OPERATORS, DIFFERENT_FROM, EQUALS_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL, IN, LESS_THAN, LESS_THAN_OR_EQUAL, LIKE, NOT_IN, NOT_LIKE| Constructor and Description |
|---|
OperatorTypeImpl(String sql,
boolean spaceDelimited) |
| Modifier and Type | Method and Description |
|---|---|
static OperatorType |
convertOperatorType(String sqlType)
Converts from SQL string literals to an OperatorType.
|
boolean |
equals(Object obj) |
boolean |
isSpaceDelimited()
Determines if this operator requires a space delimitor.
|
String |
toSql() |
public OperatorTypeImpl(String sql, boolean spaceDelimited)
public boolean isSpaceDelimited()
OperatorTypeisSpaceDelimited in interface OperatorTypepublic String toSql()
toSql in interface OperatorTypepublic static OperatorType convertOperatorType(String sqlType)
sqlType - Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.