public class OperatorTypeImpl extends Object implements OperatorType
OperatorType
BUILT_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()
OperatorType
isSpaceDelimited
in interface OperatorType
public String toSql()
toSql
in interface OperatorType
public static OperatorType convertOperatorType(String sqlType)
sqlType
- Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.